summaryrefslogtreecommitdiff
path: root/test/wasm2js/i64-ctz.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/i64-ctz.2asm.js.opt')
-rw-r--r--test/wasm2js/i64-ctz.2asm.js.opt8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/wasm2js/i64-ctz.2asm.js.opt b/test/wasm2js/i64-ctz.2asm.js.opt
index d1659d374..5fc52a8f0 100644
--- a/test/wasm2js/i64-ctz.2asm.js.opt
+++ b/test/wasm2js/i64-ctz.2asm.js.opt
@@ -17,11 +17,9 @@ function asmFunc(env) {
var setTempRet0 = env.setTempRet0;
var i64toi32_i32$HIGH_BITS = 0;
function legalstub$popcnt64($0, $1) {
- var $2 = 0, $3 = 0, $4 = 0, $5 = 0;
+ var $2 = 0, $3 = 0, $4 = 0;
$2 = $1;
while (1) {
- $1 = $3;
- $5 = $4;
if ($0 | $2) {
$1 = $0;
$0 = $0 - 1 & $0;
@@ -32,8 +30,8 @@ function asmFunc(env) {
}
break;
};
- i64toi32_i32$HIGH_BITS = $5;
- $0 = $1;
+ i64toi32_i32$HIGH_BITS = $4;
+ $0 = $3;
setTempRet0(i64toi32_i32$HIGH_BITS | 0);
return $0;
}