Explorar o código

* temporary workaround for the is_pascal_goto_target check not working properly in a_jmp_always

Nikolay Nikolov hai 1 ano
pai
achega
b3e64d70e7
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      compiler/wasm32/hlcgcpu.pas

+ 3 - 2
compiler/wasm32/hlcgcpu.pas

@@ -1929,10 +1929,11 @@ implementation
         list.concat(taicpu.op_sym(a_br,l))
       else
         begin
+          list.concat(taicpu.op_sym(a_br,l))
 {$ifndef EXTDEBUG}
-          Internalerror(2019091806); // unexpected jump
+//          Internalerror(2019091806); // unexpected jump
 {$endif EXTDEBUG}
-          list.concat(tai_comment.create(strpnew('Unable to find destination of label '+l.name)));
+//          list.concat(tai_comment.create(strpnew('Unable to find destination of label '+l.name)));
         end;
     end;