]> Cypherpunks repositories - gostls13.git/commitdiff
8l: correct test for sp == top of stack in 8l -K code
authorRuss Cox <rsc@golang.org>
Fri, 11 Jun 2010 23:17:47 +0000 (16:17 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 11 Jun 2010 23:17:47 +0000 (16:17 -0700)
R=ken2
CC=golang-dev
https://golang.org/cl/1627042

src/cmd/8l/pass.c

index 5dc8434777eae8c0ddd7e326a935eeb8d0c2fce6..ace640d2212236516f7675eba798d2e575a8ef17 100644 (file)
@@ -647,7 +647,7 @@ dostkoff(void)
                                        p->to.type = D_SP;
 
                                        p = appendp(p);
-                                       p->as = AJHI;
+                                       p->as = AJCC;
                                        p->to.type = D_BRANCH;
                                        p->to.offset = 4;
                                        q1 = p;