Skip to content

Update to latest binaryen #1520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/AssemblyScript/assemblyscript/issues"
},
"dependencies": {
"binaryen": "98.0.0-nightly.20201022",
"binaryen": "98.0.0-nightly.20201025",
"long": "^4.0.0",
"source-map-support": "^0.5.19",
"ts-node": "^6.2.0"
Expand Down
4 changes: 0 additions & 4 deletions tests/compiler/number.optimized.wat
Original file line number Diff line number Diff line change
Expand Up @@ -1212,17 +1212,13 @@
local.get $1
i64.const 31
i64.shl
i64.const 0
i64.add
local.tee $2
i64.const 32
i64.shr_u
i64.add
local.get $2
i64.const 4294967295
i64.and
i64.const 0
i64.add
i64.const 2147483647
i64.add
i64.const 32
Expand Down
4 changes: 0 additions & 4 deletions tests/compiler/resolve-binary.optimized.wat
Original file line number Diff line number Diff line change
Expand Up @@ -1224,17 +1224,13 @@
local.get $1
i64.const 31
i64.shl
i64.const 0
i64.add
local.tee $3
i64.const 32
i64.shr_u
i64.add
local.get $3
i64.const 4294967295
i64.and
i64.const 0
i64.add
i64.const 2147483647
i64.add
i64.const 32
Expand Down
4 changes: 0 additions & 4 deletions tests/compiler/resolve-ternary.optimized.wat
Original file line number Diff line number Diff line change
Expand Up @@ -2380,17 +2380,13 @@
local.get $1
i64.const 31
i64.shl
i64.const 0
i64.add
local.tee $2
i64.const 32
i64.shr_u
i64.add
local.get $2
i64.const 4294967295
i64.and
i64.const 0
i64.add
i64.const 2147483647
i64.add
i64.const 32
Expand Down
24 changes: 6 additions & 18 deletions tests/compiler/std/math.optimized.wat
Original file line number Diff line number Diff line change
Expand Up @@ -6538,7 +6538,7 @@
i64.eqz
if (result i64)
local.get $2
i64.const 0
i64.const 1
local.get $4
local.get $2
i64.const 12
Expand All @@ -6547,8 +6547,6 @@
i64.sub
local.tee $4
i64.sub
i64.const 1
i64.add
i64.shl
else
local.get $2
Expand All @@ -6562,7 +6560,7 @@
i64.eqz
if (result i64)
local.get $3
i64.const 0
i64.const 1
local.get $5
local.get $3
i64.const 12
Expand All @@ -6571,8 +6569,6 @@
i64.sub
local.tee $5
i64.sub
i64.const 1
i64.add
i64.shl
else
local.get $3
Expand Down Expand Up @@ -6648,11 +6644,9 @@
i64.or
else
local.get $2
i64.const 0
i64.const 1
local.get $4
i64.sub
i64.const 1
i64.add
i64.shr_u
end
local.get $7
Expand Down Expand Up @@ -8347,7 +8341,7 @@
i64.eqz
if (result i64)
local.get $2
i64.const 0
i64.const 1
local.get $3
local.get $2
i64.const 12
Expand All @@ -8356,8 +8350,6 @@
i64.sub
local.tee $3
i64.sub
i64.const 1
i64.add
i64.shl
else
local.get $2
Expand All @@ -8371,7 +8363,7 @@
i64.eqz
if (result i64)
local.get $4
i64.const 0
i64.const 1
local.get $5
local.get $4
i64.const 12
Expand All @@ -8380,8 +8372,6 @@
i64.sub
local.tee $5
i64.sub
i64.const 1
i64.add
i64.shl
else
local.get $4
Expand Down Expand Up @@ -8488,11 +8478,9 @@
i64.shl
i64.or
local.get $2
i64.const 0
i64.const 1
local.get $3
i64.sub
i64.const 1
i64.add
i64.shr_u
local.get $3
i64.const 0
Expand Down
12 changes: 3 additions & 9 deletions tests/compiler/std/mod.optimized.wat
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
i64.eqz
if (result i64)
local.get $2
i64.const 0
i64.const 1
local.get $4
local.get $2
i64.const 12
Expand All @@ -105,8 +105,6 @@
i64.sub
local.tee $4
i64.sub
i64.const 1
i64.add
i64.shl
else
local.get $2
Expand All @@ -120,7 +118,7 @@
i64.eqz
if (result i64)
local.get $3
i64.const 0
i64.const 1
local.get $5
local.get $3
i64.const 12
Expand All @@ -129,8 +127,6 @@
i64.sub
local.tee $5
i64.sub
i64.const 1
i64.add
i64.shl
else
local.get $3
Expand Down Expand Up @@ -206,11 +202,9 @@
i64.or
else
local.get $2
i64.const 0
i64.const 1
local.get $4
i64.sub
i64.const 1
i64.add
i64.shr_u
end
local.get $7
Expand Down
8 changes: 2 additions & 6 deletions tests/compiler/std/typedarray.optimized.wat
Original file line number Diff line number Diff line change
Expand Up @@ -9857,7 +9857,7 @@
i64.eqz
if (result i64)
local.get $1
i64.const 0
i64.const 1
local.get $2
local.get $1
i64.const 12
Expand All @@ -9866,8 +9866,6 @@
i64.sub
local.tee $2
i64.sub
i64.const 1
i64.add
i64.shl
else
local.get $1
Expand Down Expand Up @@ -9943,11 +9941,9 @@
i64.or
else
local.get $1
i64.const 0
i64.const 1
local.get $2
i64.sub
i64.const 1
i64.add
i64.shr_u
end
local.get $4
Expand Down