Преглед на файлове

+ support the throw_ref instruction in the internal WebAssembly assembler writer

Nikolay Nikolov преди 1 ден
родител
ревизия
07bcb62d5e
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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);