diff options
author | Dan Gohman <sunfish@mozilla.com> | 2016-05-17 15:49:02 -0700 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2016-05-17 15:52:56 -0700 |
commit | e420a217b8dd0253379deaae1275209becbc511f (patch) | |
tree | ea96f6a5d7b749652c76f9c3c1a45f45c0f56012 /test/torture-s/builtin-prefetch-2.c.s | |
parent | a76f0a4a17a0da8431e5a0ab2ab3078991460196 (diff) | |
download | binaryen-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/builtin-prefetch-2.c.s')
-rw-r--r-- | test/torture-s/builtin-prefetch-2.c.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/torture-s/builtin-prefetch-2.c.s b/test/torture-s/builtin-prefetch-2.c.s index e9471c37f..cb90ae1fd 100644 --- a/test/torture-s/builtin-prefetch-2.c.s +++ b/test/torture-s/builtin-prefetch-2.c.s @@ -48,7 +48,7 @@ simple_local: # @simple_local i32.store $push0=, 0($pop4), $pop8 i32.const $push5=, 416 i32.add $push6=, $pop0, $pop5 - i32.store $discard=, 0($pop7), $pop6 + i32.store $drop=, 0($pop7), $pop6 return .endfunc .Lfunc_end3: @@ -65,7 +65,7 @@ simple_arg: # @simple_arg i32.load $push1=, 0($pop0) i32.const $push2=, 16 i32.sub $push3=, $pop1, $pop2 - i32.store $discard=, 12($pop3), $2 + i32.store $drop=, 12($pop3), $2 return .endfunc .Lfunc_end4: @@ -91,7 +91,7 @@ expr_local: # @expr_local i32.const $push0=, __stack_pointer i32.load $push1=, 0($pop0) i32.const $push2=, 80 - i32.sub $discard=, $pop1, $pop2 + i32.sub $drop=, $pop1, $pop2 return .endfunc .Lfunc_end6: @@ -115,7 +115,7 @@ main: # @main call simple_arg@FUNCTION, $pop3, $pop1, $pop2 i32.const $push6=, 0 i32.const $push4=, str - i32.store $discard=, str+16($pop6), $pop4 + i32.store $drop=, str+16($pop6), $pop4 call expr_global@FUNCTION call expr_local@FUNCTION i32.const $push5=, 0 |