From b3e64d70e7b712b675d69a3cd57ad089af5c5ccf Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Sun, 22 Oct 2023 01:09:26 +0300 Subject: [PATCH] * temporary workaround for the is_pascal_goto_target check not working properly in a_jmp_always --- compiler/wasm32/hlcgcpu.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/wasm32/hlcgcpu.pas b/compiler/wasm32/hlcgcpu.pas index 353a4d2947..e8d2e2bb0d 100644 --- a/compiler/wasm32/hlcgcpu.pas +++ b/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;