diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-23 13:50:26 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-30 13:20:42 -0400 |
commit | 04b66d38db182390642f8da38b883750208b4835 (patch) | |
tree | 6b2a1c6207805131e83277df564bd07aed9ec4e1 /lisc/parse.c | |
parent | b33febc25cce5c836bad952da472f6a54e777ed8 (diff) | |
download | roux-04b66d38db182390642f8da38b883750208b4835.tar.gz |
start integrating RAMem references
Diffstat (limited to 'lisc/parse.c')
-rw-r--r-- | lisc/parse.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisc/parse.c b/lisc/parse.c index d0ac325..aa311c4 100644 --- a/lisc/parse.c +++ b/lisc/parse.c @@ -820,8 +820,8 @@ printref(Ref r, Fn *fn, FILE *f) diag("printref: invalid constant"); } break; - case RASlot: - fprintf(f, "S%d", r.val & AMask); + case RSlot: + fprintf(f, "S%d", r.val); break; case RACall: fprintf(f, "%x", r.val & AMask); @@ -829,6 +829,9 @@ printref(Ref r, Fn *fn, FILE *f) case RAType: fprintf(f, ":%s", typ[r.val & AMask].name); break; + case RAMem: + fprintf(f, "[]"); + break; } } |