Commit e7acb5df authored by Kai Backman's avatar Kai Backman

fix runtime and compile regression

R=rsc
APPROVED=rsc
DELTA=6  (0 added, 0 deleted, 6 changed)
OCL=33434
CL=33452
parent 7f09b017
...@@ -167,7 +167,7 @@ cgen_callinter(Node *n, Node *res, int proc) ...@@ -167,7 +167,7 @@ cgen_callinter(Node *n, Node *res, int proc)
// i = &tmpi; // i = &tmpi;
// } // }
// gen(n->right); // args // genlist(n->list); // args
// regalloc(&nodr, types[tptr], res); // regalloc(&nodr, types[tptr], res);
// regalloc(&nodo, types[tptr], &nodr); // regalloc(&nodo, types[tptr], &nodr);
...@@ -217,7 +217,7 @@ cgen_call(Node *n, int proc) ...@@ -217,7 +217,7 @@ cgen_call(Node *n, int proc)
cgen(n->left, &afun); cgen(n->left, &afun);
} }
gen(n->right); // assign the args genlist(n->list); // assign the args
t = n->left->type; t = n->left->type;
setmaxarg(t); setmaxarg(t);
......
...@@ -353,9 +353,9 @@ datastring(char *s, int len, Addr *a) ...@@ -353,9 +353,9 @@ datastring(char *s, int len, Addr *a)
*a = ao; *a = ao;
// only generate data the first time. // only generate data the first time.
if(ao.sym->uniq) if(ao.sym->flags & SymUniq)
return; return;
ao.sym->uniq = 1; ao.sym->flags |= SymUniq;
data(); data();
for(w=0; w<len; w+=8) { for(w=0; w<len; w+=8) {
...@@ -434,9 +434,9 @@ datagostring(Strlit *sval, Addr *a) ...@@ -434,9 +434,9 @@ datagostring(Strlit *sval, Addr *a)
} }
*a = ao; *a = ao;
if(ao.sym->uniq) if(ao.sym->flags & SymUniq)
return; return;
ao.sym->uniq = 1; ao.sym->flags |= SymUniq;
data(); data();
// DATA gostring, wp, $cstring // DATA gostring, wp, $cstring
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment