diff options
author | Andrew Chambers <andrewchambers@fastmail.com> | 2019-02-27 12:09:40 +1300 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-26 18:32:12 -0800 |
commit | 7722c7593a1a249e1a6d98d84afdff3cb086ca81 (patch) | |
tree | 49586cc1ffa3e9fd66ebcd090657050c0b117070 /tests/subtract-pointer.qbe | |
parent | 083bd95ef10c480fd234ec25933da27b2fa3fda9 (diff) |
Zero uninitialized decls/returns.
Resolves #12 and #15.
Diffstat (limited to 'tests/subtract-pointer.qbe')
-rw-r--r-- | tests/subtract-pointer.qbe | 2 |
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 |