Просмотр исходного кода

+ initialize br_blocks in the thlcgwasm constructor

Nikolay Nikolov 4 лет назад
Родитель
Сommit
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;