From a49a7763079fc5df0be15ec3fa932015ccbbe69b Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 19 Apr 2020 07:36:13 +0000 Subject: [PATCH] * go through cg to generate jumps, so the right jump is generated always git-svn-id: trunk@44836 - --- compiler/xtensa/ncpuadd.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/xtensa/ncpuadd.pas b/compiler/xtensa/ncpuadd.pas index 9e3b30897f..7e8861b493 100644 --- a/compiler/xtensa/ncpuadd.pas +++ b/compiler/xtensa/ncpuadd.pas @@ -87,7 +87,7 @@ interface end; cg.a_cmp_reg_reg_label(current_asmdata.CurrAsmList,OS_INT,cond,left.location.register,right.location.register,location.truelabel); - current_asmdata.CurrAsmList.concat(taicpu.op_sym(A_J,location.falselabel)); + cg.a_jmp_always(current_asmdata.CurrAsmList,location.falselabel); end; @@ -139,7 +139,7 @@ interface else cg.a_cmp_reg_reg_label(current_asmdata.CurrAsmList,OS_INT,cond,right.location.register,left.location.register,location.truelabel); end; - current_asmdata.CurrAsmList.concat(taicpu.op_sym(A_J,location.falselabel)); + cg.a_jmp_always(current_asmdata.CurrAsmList,location.falselabel); end;