From a1c596622bb61373def990e3e18f5355095b2bd9 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Tue, 11 May 2021 09:16:41 -0600 Subject: [PATCH] Disable a fixup, which might not be necessary now --- src/6502-c++.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/6502-c++.cpp b/src/6502-c++.cpp index 324f3f5..f06546e 100644 --- a/src/6502-c++.cpp +++ b/src/6502-c++.cpp @@ -984,9 +984,12 @@ void run(const Personality &personality, std::istream &input) } } - while (fix_overwritten_flags(new_instructions)) { + // it seems that with the move to AVR for the base, this + // fixup no longer makes sense, but I'm not going to remove it just yet + // until we have more complex C++ examples working +// while (fix_overwritten_flags(new_instructions)) { // do it however many times it takes - } +// } while (optimize(new_instructions)) { // do it however many times it takes