Browse Source

+ initialize br_blocks in the thlcgwasm constructor

Nikolay Nikolov 4 năm trước cách đây
mục cha
commit
f7cc2d560c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;