From: cuz Date: Tue, 28 Nov 2000 13:33:27 +0000 (+0000) Subject: pusha function has changed X-Git-Tag: V2.12.0~3048 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a7eccfc8d1feff0622fef3153138efdc5bc4d2a;p=cc65 pusha function has changed git-svn-id: svn://svn.cc65.org/cc65/trunk@488 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/optimize.c b/src/cc65/optimize.c index e24160658..4421a9bb6 100644 --- a/src/cc65/optimize.c +++ b/src/cc65/optimize.c @@ -3987,7 +3987,7 @@ static Line* OptOneBlock (Line* L) A = 7; X = 0; Y = 1; - } else if (LineFullMatch (L, "\tjsr\tpusha")) { + } else if (CPU == CPU_65C02 && LineFullMatch (L, "\tjsr\tpusha")) { /* We know about this function */ Y = 0; } else if (LineFullMatch (L, "\tjsr\tpusha0")) {