summaryrefslogtreecommitdiff
path: root/test/torture-s/enum-3.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/enum-3.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/enum-3.c.s')
-rw-r--r--test/torture-s/enum-3.c.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/torture-s/enum-3.c.s b/test/torture-s/enum-3.c.s
index 502daadd4..64788f8d5 100644
--- a/test/torture-s/enum-3.c.s
+++ b/test/torture-s/enum-3.c.s
@@ -16,11 +16,11 @@ main: # @main
i32.store $push11=, 0($pop5), $pop8
tee_local $push10=, $0=, $pop11
i32.const $push0=, -2147483648
- i32.store $discard=, 12($pop10), $pop0
+ i32.store $drop=, 12($pop10), $pop0
i32.const $push1=, 0
i32.const $push6=, 12
i32.add $push7=, $0, $pop6
- i32.store $discard=, q($pop1), $pop7
+ i32.store $drop=, q($pop1), $pop7
i32.const $push9=, 0
call exit@FUNCTION, $pop9
unreachable