aboutsummaryrefslogtreecommitdiff
path: root/tests/subtract-pointer.qbe
diff options
context:
space:
mode:
authorAndrew Chambers <andrewchambers@fastmail.com>2019-02-27 12:09:40 +1300
committerMichael Forney <mforney@mforney.org>2019-02-26 18:32:12 -0800
commit7722c7593a1a249e1a6d98d84afdff3cb086ca81 (patch)
tree49586cc1ffa3e9fd66ebcd090657050c0b117070 /tests/subtract-pointer.qbe
parent083bd95ef10c480fd234ec25933da27b2fa3fda9 (diff)
Zero uninitialized decls/returns.
Resolves #12 and #15.
Diffstat (limited to 'tests/subtract-pointer.qbe')
-rw-r--r--tests/subtract-pointer.qbe2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/subtract-pointer.qbe b/tests/subtract-pointer.qbe
index 0e7e9a3..b075ce4 100644
--- a/tests/subtract-pointer.qbe
+++ b/tests/subtract-pointer.qbe
@@ -2,8 +2,10 @@ export
function $f(l %.1, l %.3) {
@start.1
%.2 =l alloc8 8
+ storel 0, %.2
storel %.1, %.2
%.4 =l alloc8 8
+ storel 0, %.4
storel %.3, %.4
@body.2
%.5 =l loadl %.2