From eba33d00f28269d57910d3702409113931f7f748 Mon Sep 17 00:00:00 2001 From: kvigor Date: Tue, 11 Mar 2003 22:49:19 +0000 Subject: [PATCH] operandsNotEqualX peephole test functions were never called git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2375 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 6 ++++++ src/SDCCpeeph.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6ef854a..9b9f1ce6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-03-11 Kevin Vigor + + * src/SDCCpeeph.c: fix so that operandsNotEqualX functions are + actually called (operandsNotEqual() was called for all + operandsNotEqualX tests). + 2003-03-11 Kevin Vigor * src/SDCCcse.c: fix findCheaperOp to prevent replacing int types diff --git a/src/SDCCpeeph.c b/src/SDCCpeeph.c index a928f3a0..6b68b305 100644 --- a/src/SDCCpeeph.c +++ b/src/SDCCpeeph.c @@ -450,10 +450,6 @@ callFuncByName (char *fname, "labelInRange", labelInRange } , - { - "operandsNotSame", operandsNotSame - } - , { "operandsNotSame3", operandsNotSame3 } @@ -478,6 +474,10 @@ callFuncByName (char *fname, "operandsNotSame8", operandsNotSame8 } , + { + "operandsNotSame", operandsNotSame + } + , { "24bitMode", flat24bitMode } -- 2.47.2