From 440cc47770093cb18523dc166b0310d9e2c37aa7 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 7 Jul 2012 22:22:59 +0000 Subject: [PATCH] Fixed an error. git-svn-id: svn://svn.cc65.org/cc65/trunk@5772 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/coptshift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/coptshift.c b/src/cc65/coptshift.c index 3b179539c..4205783f9 100644 --- a/src/cc65/coptshift.c +++ b/src/cc65/coptshift.c @@ -412,7 +412,7 @@ unsigned OptShift3 (CodeSeg* S) !CS_RangeHasLabel (S, I, 2) && L[2]->OPC == OP65_JSR && (Shift = GetShift (L[2]->Arg)) != SHIFT_NONE && - SHIFT_TYPE (Shift) == SHIFT_TYPE_ASR && + SHIFT_DIR (Shift) == SHIFT_DIR_RIGHT && (Count = SHIFT_COUNT (Shift)) > 0 && !RegXUsed (S, I+3)) { -- 2.39.5