aboutsummaryrefslogtreecommitdiff
path: root/test/struct-copy.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/struct-copy.qbe')
-rw-r--r--test/struct-copy.qbe6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/struct-copy.qbe b/test/struct-copy.qbe
index 0e0dce3..0fa624f 100644
--- a/test/struct-copy.qbe
+++ b/test/struct-copy.qbe
@@ -3,15 +3,15 @@ function $f() {
@start.1
%.1 =l alloc4 12
@body.2
- %.2 =l loadw $x
+ %.2 =w loadw $x
storew %.2, %.1
%.3 =l add $x, 4
%.4 =l add %.1, 4
- %.5 =l loadw %.3
+ %.5 =w loadw %.3
storew %.5, %.4
%.6 =l add %.3, 4
%.7 =l add %.4, 4
- %.8 =l loadw %.6
+ %.8 =w loadw %.6
storew %.8, %.7
ret
}