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/struct-cpy-1.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/struct-cpy-1.c.s')
-rw-r--r-- | test/torture-s/struct-cpy-1.c.s | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/torture-s/struct-cpy-1.c.s b/test/torture-s/struct-cpy-1.c.s index fc7a750a1..3671d0729 100644 --- a/test/torture-s/struct-cpy-1.c.s +++ b/test/torture-s/struct-cpy-1.c.s @@ -9,13 +9,13 @@ ini: # @ini i32.const $push2=, pty+40 i32.const $push1=, 0 i32.const $push0=, 44 - i32.call $discard=, memset@FUNCTION, $pop2, $pop1, $pop0 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 i32.const $push6=, 0 i64.const $push3=, 8589934593 - i64.store $discard=, pty+40($pop6), $pop3 + i64.store $drop=, pty+40($pop6), $pop3 i32.const $push5=, 0 i64.const $push4=, 17179869187 - i64.store $discard=, pty+48($pop5), $pop4 + i64.store $drop=, pty+48($pop5), $pop4 return .endfunc .Lfunc_end0: @@ -31,13 +31,13 @@ main: # @main i32.const $push2=, pty+40 i32.const $push1=, 0 i32.const $push0=, 44 - i32.call $discard=, memset@FUNCTION, $pop2, $pop1, $pop0 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 i32.const $push7=, 0 i64.const $push3=, 8589934593 - i64.store $discard=, pty+40($pop7), $pop3 + i64.store $drop=, pty+40($pop7), $pop3 i32.const $push6=, 0 i64.const $push4=, 17179869187 - i64.store $discard=, pty+48($pop6), $pop4 + i64.store $drop=, pty+48($pop6), $pop4 i32.const $push5=, 0 return $pop5 .endfunc |