ソースを参照

+ initialize br_blocks in the thlcgwasm constructor

Nikolay Nikolov 4 年 前
コミット
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;