summary refs log tree commit diff
path: root/lisc/lisc.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-04 14:00:26 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-04 14:00:26 -0500
commitb4f80258a122a82d302784ea98756d901591011d (patch)
tree7787080e6ccf8a983caf6eea10995a26b2e5c322 /lisc/lisc.h
parentf184585cd573c8c7e88648769faf988c3bbe8bc1 (diff)
downloadroux-b4f80258a122a82d302784ea98756d901591011d.tar.gz
comment in enum Op
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r--lisc/lisc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index 8ec1afd..2e99374 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -63,7 +63,7 @@ enum Reg {
 
 	Tmp0, /* first non-reg temporary */
 
-	NIReg = RBX - RAX + 1,
+	NIReg = R12 - RAX + 1,
 	NFReg = XMM15 - XMM0 + 1,
 	NISave = 9,
 	NFSave = 15,
@@ -199,7 +199,7 @@ enum Op {
 	OStoreb,
 #define OStore  OStored
 #define OStore1 OStoreb
-	OLoadl,
+	OLoadl,  /* needs to match OExt (mem.c) */
 	OLoadsw,
 	OLoaduw,
 	OLoadsh,