mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 17:15:44 +00:00
LibWasm: Fix v128.any_true instruction
This commit is contained in:
committed by
Ali Mohammad Pur
parent
616048c67e
commit
21c5084d23
@@ -1677,7 +1677,7 @@ void BytecodeInterpreter::interpret(Configuration& configuration, InstructionPoi
|
||||
}
|
||||
case Instructions::v128_any_true.value(): {
|
||||
auto vector = *configuration.stack().pop().get<Value>().to<u128>();
|
||||
configuration.stack().push(Value(static_cast<i32>(vector == 0)));
|
||||
configuration.stack().push(Value(static_cast<i32>(vector != 0)));
|
||||
return;
|
||||
}
|
||||
case Instructions::v128_load8_lane.value():
|
||||
|
||||
Reference in New Issue
Block a user