summaryrefslogtreecommitdiff
path: root/test/torture-s/loop-2c.c.s
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2016-05-17 15:49:02 -0700
committerDan Gohman <sunfish@mozilla.com>2016-05-17 15:52:56 -0700
commite420a217b8dd0253379deaae1275209becbc511f (patch)
treeea96f6a5d7b749652c76f9c3c1a45f45c0f56012 /test/torture-s/loop-2c.c.s
parenta76f0a4a17a0da8431e5a0ab2ab3078991460196 (diff)
downloadbinaryen-e420a217b8dd0253379deaae1275209becbc511f.tar.gz
binaryen-e420a217b8dd0253379deaae1275209becbc511f.tar.bz2
binaryen-e420a217b8dd0253379deaae1275209becbc511f.zip
Rename $discard to $drop in the .s syntax.
This is shorter and is more consistent with terminology being used to discuss WebAssembly.
Diffstat (limited to 'test/torture-s/loop-2c.c.s')
-rw-r--r--test/torture-s/loop-2c.c.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/torture-s/loop-2c.c.s b/test/torture-s/loop-2c.c.s
index 7d95f6260..2f7a978ee 100644
--- a/test/torture-s/loop-2c.c.s
+++ b/test/torture-s/loop-2c.c.s
@@ -90,10 +90,10 @@ main: # @main
# BB#0: # %if.end
i32.const $push1=, 0
i32.const $push0=, a+3
- i32.store $discard=, a+4($pop1), $pop0
+ i32.store $drop=, a+4($pop1), $pop0
i32.const $push4=, 0
i32.const $push2=, a
- i32.store $discard=, a($pop4), $pop2
+ i32.store $drop=, a($pop4), $pop2
i32.const $push3=, 0
call exit@FUNCTION, $pop3
unreachable