mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWasm: Parse the "extend" set of instructions
This commit is contained in:
parent
6b5d1eedcb
commit
02b3238c41
Notes:
sideshowbarker
2024-07-18 17:01:06 +09:00
Author: https://github.com/alimpfard
Commit: 02b3238c41
Pull-request: https://github.com/SerenityOS/serenity/pull/7670
4 changed files with 20 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue