]> git.sur5r.net Git - cc65/commitdiff
pusha function has changed
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 28 Nov 2000 13:33:27 +0000 (13:33 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 28 Nov 2000 13:33:27 +0000 (13:33 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@488 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/optimize.c

index e24160658a5839ebff80c7ae2ac01447c078492f..4421a9bb6b1efc54b2bec39eea038e117bb7c91b 100644 (file)
@@ -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")) {