瀏覽代碼

* fixed WebAssembly inline asm parsing bug for the global.get/global.set ID instruction

Nikolay Nikolov 1 年之前
父節點
當前提交
5cfd214b68
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/wasm32/rawasmtext.pas

+ 1 - 0
compiler/wasm32/rawasmtext.pas

@@ -906,6 +906,7 @@ Unit rawasmtext;
                               result.ops:=1;
                               result.operands[1].opr.typ:=OPR_SYMBOL;
                               result.operands[1].opr.symbol:=thlcgwasm(hlcg).RefStackPointerSym;
+                              Consume(AS_ID);
                             end;
                           else
                             internalerror(2024072002);