From: cuz Date: Mon, 12 Jun 2000 09:29:13 +0000 (+0000) Subject: Removed a duplicate line X-Git-Tag: V2.12.0~3452 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f1688015bc69d07774cc92bb6673c94196cb522;p=cc65 Removed a duplicate line git-svn-id: svn://svn.cc65.org/cc65/trunk@60 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/optimize.c b/src/cc65/optimize.c index 37eaaf1fe..ac8480cef 100644 --- a/src/cc65/optimize.c +++ b/src/cc65/optimize.c @@ -3838,10 +3838,6 @@ static Line* OptOneBlock (Line* L) } else if (LineFullMatch (L, "\tjsr\tpusha")) { /* We know about this function */ Y = 0; - } else if (LineFullMatch (L, "\tjsr\tpusha0")) { - /* We know about this function */ - X = 0; - Y = 1; } else if (LineFullMatch (L, "\tjsr\tpusha0")) { /* We know about this function * If X is already zero, we may call pushax instead and save two @@ -3912,7 +3908,7 @@ static Line* OptOneBlock (Line* L) Y = -1; } else if (LineFullMatch (L, "\tjsr\tstaxspp")) { /* We know about this function */ - Y = -1; + Y = -1; } else if (LineFullMatch (L, "\tjsr\tstax0sp")) { /* We know about this function */ Y = 1;