소스 검색

+ support the throw_ref instruction in the internal WebAssembly assembler writer

Nikolay Nikolov 23 시간 전
부모
커밋
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);