2
0
florian 3 жил өмнө
parent
commit
bee87583de

+ 1 - 0
compiler/aasmtai.pas

@@ -2320,6 +2320,7 @@ implementation
 
 
     function tai_realconst.datasize: word;
     function tai_realconst.datasize: word;
       begin
       begin
+        result:=0;
         case realtyp of
         case realtyp of
           aitrealconst_s32bit:
           aitrealconst_s32bit:
             result:=4;
             result:=4;

+ 1 - 0
compiler/wasm32/nwasmflw.pas

@@ -362,6 +362,7 @@ implementation
         oldContinueLabel:=nil;
         oldContinueLabel:=nil;
         continuefinallylabel:=nil;
         continuefinallylabel:=nil;
         breakfinallylabel:=nil;
         breakfinallylabel:=nil;
+        oldLoopBreakBr:=0;
 
 
         in_loop:=assigned(current_procinfo.CurrBreakLabel);
         in_loop:=assigned(current_procinfo.CurrBreakLabel);