From f622b8e47c69dcbdf2666c795fb3658dc4da52af Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Wed, 29 May 2024 10:35:25 -0700 Subject: Use new wast parser in wasm2js (#6606) When generating assertions, traverse the `WASTScript` data structure rather than interleaving assertion parsing with emitting. --- test/wasm2js/nested-selects.2asm.js.opt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/wasm2js/nested-selects.2asm.js.opt') diff --git a/test/wasm2js/nested-selects.2asm.js.opt b/test/wasm2js/nested-selects.2asm.js.opt index f66fd391f..49913e99e 100644 --- a/test/wasm2js/nested-selects.2asm.js.opt +++ b/test/wasm2js/nested-selects.2asm.js.opt @@ -10,13 +10,13 @@ function asmFunc(imports) { var Math_ceil = Math.ceil; var Math_trunc = Math.trunc; var Math_sqrt = Math.sqrt; - function $1($0) { - $0 = $0 | 0; - return (($0 | 0) < 0 ? -1 : ($0 | 0) > 0) | 0; + function $0($0_1) { + $0_1 = $0_1 | 0; + return (($0_1 | 0) < 0 ? -1 : ($0_1 | 0) > 0) | 0; } return { - "sign": $1 + "sign": $0 }; } -- cgit v1.2.3