From 69b6b9290f32c990b1de245c818ad93f73b1f139 Mon Sep 17 00:00:00 2001
From: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Thu, 28 Jan 2016 16:33:47 -0500
Subject: [PATCH] use macros for OXxx and OXxx1

This will make sure the debugger uses the
correct name when printing an operation.
---
 lisc/lisc.h | 12 ++++++------
 1 file 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,