summary refs log tree commit diff
path: root/mem.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-04 14:45:49 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-04 14:45:49 -0400
commit74562a93debff6954f16a4c3434efa69d37c954b (patch)
tree245c03672bc2c895eff933de2262d111c2a18ebb /mem.c
parentf71206500c6693eed4393d72e8ab95d6a7e07d98 (diff)
downloadroux-74562a93debff6954f16a4c3434efa69d37c954b.tar.gz
reorder instructions
Diffstat (limited to 'mem.c')
-rw-r--r--mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mem.c b/mem.c
index 98556e1..521fa96 100644
--- a/mem.c
+++ b/mem.c
@@ -67,8 +67,8 @@ memopt(Fn *fn)
 					break;
 				default:
 					/* keep l->cls */
-					a = l->op - OLoadsw;
-					l->op = OExtsw + a;
+					a = l->op - OLoadsb;
+					l->op = OExtsb + a;
 					break;
 				}
 		}