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/dot_s/dyncall.c | |
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/dot_s/dyncall.c')
-rw-r--r-- | test/dot_s/dyncall.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/dot_s/dyncall.c b/test/dot_s/dyncall.c index 124b79d8b..16c70b066 100644 --- a/test/dot_s/dyncall.c +++ b/test/dot_s/dyncall.c @@ -21,10 +21,10 @@ void vd2(double d) { } int main() { - asm(" i32.const $discard=, i@FUNCTION"); - asm(" i32.const $discard=, jf@FUNCTION"); - asm(" i32.const $discard=, vd@FUNCTION"); - asm(" i32.const $discard=, ffjjdi@FUNCTION"); - asm(" i32.const $discard=, vd2@FUNCTION"); + asm(" i32.const $drop=, i@FUNCTION"); + asm(" i32.const $drop=, jf@FUNCTION"); + asm(" i32.const $drop=, vd@FUNCTION"); + asm(" i32.const $drop=, ffjjdi@FUNCTION"); + asm(" i32.const $drop=, vd2@FUNCTION"); return 0; } |