From 272a1001a8379ae5f065d87cdb2b33baa1966692 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Fri, 18 Oct 2024 21:04:18 +0200 Subject: [PATCH] fix bad optimization of floats.pop/push call --- codeGenCpu6502/src/prog8/codegen/cpu6502/AsmOptimizer.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/codeGenCpu6502/src/prog8/codegen/cpu6502/AsmOptimizer.kt b/codeGenCpu6502/src/prog8/codegen/cpu6502/AsmOptimizer.kt index dc0075f8d..daa8d164a 100644 --- a/codeGenCpu6502/src/prog8/codegen/cpu6502/AsmOptimizer.kt +++ b/codeGenCpu6502/src/prog8/codegen/cpu6502/AsmOptimizer.kt @@ -519,8 +519,10 @@ private fun optimizeJsrRtsAndOtherCombinations(linesByFour: Sequence