diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-01-28 16:33:47 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-01-28 16:33:54 -0500 |
commit | 69b6b9290f32c990b1de245c818ad93f73b1f139 (patch) | |
tree | 69fb2b1d54fd8027fb8406be03b352cdb6ea8ea3 /lisc | |
parent | ffdc2be115caa2388eef466ad7859b29916e1ddf (diff) | |
download | roux-69b6b9290f32c990b1de245c818ad93f73b1f139.tar.gz |
use macros for OXxx and OXxx1
This will make sure the debugger uses the correct name when printing an operation.
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/lisc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index 3fa608c..20ef338 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -182,8 +182,8 @@ enum Op { OStorew, OStoreh, OStoreb, - OStore = OStored, - OStore1 = OStoreb, +#define OStore OStored +#define OStore1 OStoreb OLoadl, OLoadsw, OLoaduw, @@ -193,8 +193,8 @@ enum Op { OLoadub, OLoadd, OLoads, - OLoad = OLoadl, - OLoad1 = OLoads, +#define OLoad OLoadl +#define OLoad1 OLoads OExtl, OExtsw, OExtuw, @@ -202,8 +202,8 @@ enum Op { OExtuh, OExtsb, OExtub, - OExt = OExtl, - OExt1 = OExtub, +#define OExt OExtl +#define OExt1 OExtub OAlloc, OAlloc1 = OAlloc + NAlign-1, |