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-aliasing-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-aliasing-1.c.s')
-rw-r--r-- | test/torture-s/struct-aliasing-1.c.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/torture-s/struct-aliasing-1.c.s b/test/torture-s/struct-aliasing-1.c.s index 13d4843ca..12edd861b 100644 --- a/test/torture-s/struct-aliasing-1.c.s +++ b/test/torture-s/struct-aliasing-1.c.s @@ -11,7 +11,7 @@ foo: # @foo # BB#0: # %entry i32.load $2=, 0($1) i32.const $push0=, 0 - i32.store $discard=, 0($0), $pop0 + i32.store $drop=, 0($0), $pop0 i32.load $push1=, 0($1) i32.add $push2=, $2, $pop1 return $pop2 @@ -48,7 +48,7 @@ main: # @main i32.const $push11=, __stack_pointer i32.const $push9=, 16 i32.add $push10=, $0, $pop9 - i32.store $discard=, 0($pop11), $pop10 + i32.store $drop=, 0($pop11), $pop10 i32.const $push4=, 0 return $pop4 .LBB1_2: # %if.then |