Browse Source

+ support the throw_ref instruction in the internal WebAssembly assembler writer

Nikolay Nikolov 20 giờ trước cách đây
mục cha
commit
07bcb62d5e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      compiler/wasm32/aasmcpu.pas

+ 3 - 0
compiler/wasm32/aasmcpu.pas

@@ -2240,6 +2240,7 @@ uses
           a_i64_extend8_s,
           a_i64_extend16_s,
           a_i64_extend32_s,
+          a_throw_ref,
           a_else,
           a_end_block,
           a_end_if,
@@ -3009,6 +3010,8 @@ uses
             WriteByte($0B);
           a_legacy_catch_all:
             WriteByte($19);
+          a_throw_ref:
+            WriteByte($0A);
           a_i32_const:
             begin
               WriteByte($41);