1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibWasm: Un-nest the structured instructions

This commit is contained in:
Ali Mohammad Pur 2021-05-01 19:56:45 +04:30 committed by Linus Groh
parent 06a1c27e4d
commit 7a12f23c28
3 changed files with 69 additions and 58 deletions

View file

@ -209,7 +209,9 @@ static constexpr OpCode i32_trunc_sat_f32_s = 0xfc00,
table_copy = 0xfc0e,
table_grow = 0xfc0f,
table_size = 0xfc10,
table_fill = 0xfc11;
table_fill = 0xfc11,
structured_else = 0xff00,
structured_end = 0xff01;
static constexpr u32 i32_trunc_sat_f32_s_second = 0,
i32_trunc_sat_f32_u_second = 1,