commit 69b6b9290f32c990b1de245c818ad93f73b1f139
parent ffdc2be115caa2388eef466ad7859b29916e1ddf
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Thu, 28 Jan 2016 16:33:47 -0500
use macros for OXxx and OXxx1
This will make sure the debugger uses the
correct name when printing an operation.
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git 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,