Skip to content

Commit 93703aa

Browse files
authored
Update binaryen to latest (#1506)
1 parent dad5add commit 93703aa

File tree

4 files changed

+5
-19
lines changed

4 files changed

+5
-19
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"url": "https://github.com/AssemblyScript/assemblyscript/issues"
2222
},
2323
"dependencies": {
24-
"binaryen": "97.0.0-nightly.20201008",
24+
"binaryen": "98.0.0-nightly.20201019",
2525
"long": "^4.0.0",
2626
"source-map-support": "^0.5.19",
2727
"ts-node": "^6.2.0"

tests/compiler/std/math.optimized.wat

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,11 @@
185185
i64.const 63
186186
i64.shr_u
187187
i32.wrap_i64
188-
i32.const 0
189-
i32.ne
190188
local.get $1
191189
i64.reinterpret_f64
192190
i64.const 63
193191
i64.shr_u
194192
i32.wrap_i64
195-
i32.const 0
196-
i32.ne
197193
i32.eq
198194
if
199195
local.get $2
@@ -371,14 +367,10 @@
371367
i32.reinterpret_f32
372368
i32.const 31
373369
i32.shr_u
374-
i32.const 0
375-
i32.ne
376370
local.get $1
377371
i32.reinterpret_f32
378372
i32.const 31
379373
i32.shr_u
380-
i32.const 0
381-
i32.ne
382374
i32.eq
383375
if
384376
local.get $2

tests/compiler/std/string-casemapping.optimized.wat

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,11 +1863,9 @@
18631863
end
18641864
call $~lib/rt/tlsf/maybeInitialize
18651865
local.get $8
1866-
i32.const 3
1866+
i32.const 6
18671867
i32.mul
18681868
i32.const 1
1869-
i32.shl
1870-
i32.const 1
18711869
call $~lib/rt/tlsf/allocateBlock
18721870
i32.const 16
18731871
i32.add
@@ -2123,8 +2121,6 @@
21232121
i32.sub
21242122
i32.const 26
21252123
i32.lt_u
2126-
i32.const 0
2127-
i32.ne
21282124
i32.const 5
21292125
i32.shl
21302126
i32.const -1
@@ -2786,8 +2782,6 @@
27862782
i32.sub
27872783
i32.const 26
27882784
i32.lt_u
2789-
i32.const 0
2790-
i32.ne
27912785
i32.const 5
27922786
i32.shl
27932787
i32.or

0 commit comments

Comments
 (0)