summary refs log tree commit diff
path: root/mem.c
diff options
context:
space:
mode:
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;
 				}
 		}