aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/struct-return-2.qbe9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/struct-return-2.qbe b/tests/struct-return-2.qbe
index 415ec2f..b1990ec 100644
--- a/tests/struct-return-2.qbe
+++ b/tests/struct-return-2.qbe
@@ -5,10 +5,7 @@ function w $f() {
@body.2
%.1 =:.1 call $g()
%.2 =l copy %.1
- %.3 =l copy %.2
- %.4 =l mul 4, 1
- %.5 =l add %.3, %.4
- %.6 =l copy %.5
- %.7 =w loadsw %.6
- ret %.7
+ %.3 =l add %.2, 4
+ %.4 =w loadsw %.3
+ ret %.4
}