mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWasm: Parse the "extend" set of instructions
This commit is contained in:
committed by
Ali Mohammad Pur
parent
6b5d1eedcb
commit
02b3238c41
@@ -631,6 +631,11 @@ ParseResult<Vector<Instruction>> Instruction::parse(InputStream& stream, Instruc
|
||||
case Instructions::i64_reinterpret_f64.value():
|
||||
case Instructions::f32_reinterpret_i32.value():
|
||||
case Instructions::f64_reinterpret_i64.value():
|
||||
case Instructions::i32_extend8_s.value():
|
||||
case Instructions::i32_extend16_s.value():
|
||||
case Instructions::i64_extend8_s.value():
|
||||
case Instructions::i64_extend16_s.value():
|
||||
case Instructions::i64_extend32_s.value():
|
||||
return Vector { Instruction { opcode } };
|
||||
case 0xfc: {
|
||||
// These are multibyte instructions.
|
||||
|
||||
Reference in New Issue
Block a user