浏览代码

* fixed hang in map_structured_asmlist_inner

Nikolay Nikolov 2 年之前
父节点
当前提交
d310c0d26f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/wasm32/aasmcpu.pas

+ 1 - 0
compiler/wasm32/aasmcpu.pas

@@ -2655,6 +2655,7 @@ uses
             if p.typ=ait_wasm_structured_instruction then
               begin
                 taicpu_wasm_structured_instruction(p).Map(f,blockstack);
+                p:=tai(p.next);
               end
             else
               begin