Skip to content

Commit e8408b0

Browse files
committed
use explicit template for std::optional
1 parent c4f0e69 commit e8408b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/v8/src/compiler/turboshaft/wasm-shuffle-reducer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ void WasmShuffleAnalyzer::TryReduceFromMSB(OpIndex input,
573573
uint8_t index = shuffle.shuffle[i];
574574
if (index >= lower_limit && index <= upper_limit) {
575575
max = std::max(static_cast<uint8_t>(index % kSimd128Size),
576-
max.value_or({}));
576+
max.value_or(uint8_t{0}));
577577
}
578578
}
579579
if (max) {

0 commit comments

Comments
 (0)