diff options
author | Thomas Lively <tlively@google.com> | 2024-05-29 10:35:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 10:35:25 -0700 |
commit | f622b8e47c69dcbdf2666c795fb3658dc4da52af (patch) | |
tree | 27a0c58cb6b932e8251fa6dd2aa68b41f138a1a1 /test/wasm2js/i64-rotate.2asm.js.opt | |
parent | 525f0761496c6aafea80a2d2e8cb709515eb06c5 (diff) | |
download | binaryen-f622b8e47c69dcbdf2666c795fb3658dc4da52af.tar.gz binaryen-f622b8e47c69dcbdf2666c795fb3658dc4da52af.tar.bz2 binaryen-f622b8e47c69dcbdf2666c795fb3658dc4da52af.zip |
Use new wast parser in wasm2js (#6606)
When generating assertions, traverse the `WASTScript` data structure rather than
interleaving assertion parsing with emitting.
Diffstat (limited to 'test/wasm2js/i64-rotate.2asm.js.opt')
-rw-r--r-- | test/wasm2js/i64-rotate.2asm.js.opt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/wasm2js/i64-rotate.2asm.js.opt b/test/wasm2js/i64-rotate.2asm.js.opt index 69069f0e5..c4023b900 100644 --- a/test/wasm2js/i64-rotate.2asm.js.opt +++ b/test/wasm2js/i64-rotate.2asm.js.opt @@ -11,7 +11,7 @@ function asmFunc(imports) { var Math_trunc = Math.trunc; var Math_sqrt = Math.sqrt; var i64toi32_i32$HIGH_BITS = 0; - function legalstub$1($0, $1, $2, $3, $4, $5) { + function legalstub$0($0, $1, $2, $3, $4, $5) { var $6 = 0, $7 = 0, $8 = 0; $8 = $0; $0 = 0; @@ -59,7 +59,7 @@ function asmFunc(imports) { return ($0 | 0) == ($4 | 0) & ($5 | 0) == (i64toi32_i32$HIGH_BITS | 0); } - function legalstub$2($0, $1, $2, $3, $4, $5) { + function legalstub$1($0, $1, $2, $3, $4, $5) { var $6 = 0, $7 = 0, $8 = 0, $9 = 0; $8 = $0; $7 = $2 & 63; @@ -108,8 +108,8 @@ function asmFunc(imports) { } return { - "rotl": legalstub$1, - "rotr": legalstub$2 + "rotl": legalstub$0, + "rotr": legalstub$1 }; } |