From: uz Date: Sat, 7 Jul 2012 22:22:59 +0000 (+0000) Subject: Fixed an error. X-Git-Tag: V2.14~299 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=440cc47770093cb18523dc166b0310d9e2c37aa7;p=cc65 Fixed an error. git-svn-id: svn://svn.cc65.org/cc65/trunk@5772 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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)) {