Skip to content

Commit 501bed1

Browse files
committed
fixup wasm-shuffle-reducer
1 parent f1e0d4c commit 501bed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)