mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
oops
This commit is contained in:
parent
3088012119
commit
266f8e128c
1 changed files with 2 additions and 2 deletions
|
@ -380,7 +380,7 @@ printlocals(Symbol *fn, Regs *regs)
|
|||
for (i = 0; indexlsym(fn, i, &s)>=0; i++) {
|
||||
if (s.class != CAUTO)
|
||||
continue;
|
||||
if(lget4(cormap, correg, s.loc, &v) >= 0)
|
||||
if(lget4(cormap, regs, s.loc, &v) >= 0)
|
||||
dprint("%8t%s.%s/%10t%#lux\n", fn->name, s.name, v);
|
||||
else
|
||||
dprint("%8t%s.%s/%10t?\n", fn->name, s.name);
|
||||
|
@ -400,7 +400,7 @@ printparams(Symbol *fn, Regs *regs)
|
|||
continue;
|
||||
if (first++)
|
||||
dprint(", ");
|
||||
if(lget4(cormap, correg, s.loc, &v) >= 0)
|
||||
if(lget4(cormap, regs, s.loc, &v) >= 0)
|
||||
dprint("%s=%#lux", s.name, v);
|
||||
else
|
||||
dprint("%s=?", s.name);
|
||||
|
|
Loading…
Reference in a new issue