summaryrefslogtreecommitdiff
path: root/test/wasm2js/get-set-local.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/get-set-local.2asm.js.opt')
-rw-r--r--test/wasm2js/get-set-local.2asm.js.opt6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/wasm2js/get-set-local.2asm.js.opt b/test/wasm2js/get-set-local.2asm.js.opt
index 40a422604..134da55b0 100644
--- a/test/wasm2js/get-set-local.2asm.js.opt
+++ b/test/wasm2js/get-set-local.2asm.js.opt
@@ -21,7 +21,11 @@ function asmFunc(global, env, buffer) {
var nan = global.NaN;
var infinity = global.Infinity;
function legalstub$1($0, $1, $2) {
- return !$2 & ($0 | 0) == ($1 | 0);
+ var $3 = 0;
+ $3 = $1;
+ $1 = $2;
+ $2 = $3 | 0;
+ return !$1 & ($0 | 0) == ($2 | 0);
}
var FUNCTION_TABLE = [];