浏览代码

+ initialize br_blocks in the thlcgwasm constructor

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

+ 1 - 0
compiler/wasm32/hlcgcpu.pas

@@ -295,6 +295,7 @@ implementation
     begin
       fevalstackheight:=0;
       fmaxevalstackheight:=0;
+      br_blocks:=0;
       fntypelookup:=TWasmProcTypeLookup.Create;
     end;