diff --git a/package-lock.json b/package-lock.json index a0722f9e06..e3d06a3f3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1163,9 +1163,9 @@ "optional": true }, "binaryen": { - "version": "97.0.0-nightly.20201008", - "resolved": "https://registry.npmjs.org/binaryen/-/binaryen-97.0.0-nightly.20201008.tgz", - "integrity": "sha512-GWV30FOQqz+vBIZRbc7GSasLNhh8BNLKH+2u2j5BjqM0WOEqqaP5iSj0mq72We2aVYqpBajJPI/CORY6o2RBxA==" + "version": "98.0.0-nightly.20201019", + "resolved": "https://registry.npmjs.org/binaryen/-/binaryen-98.0.0-nightly.20201019.tgz", + "integrity": "sha512-/uUB96xnMNO7YLnGWs+QLaSnhuOlO3OeZzPzpyq+cZWbwLl3AMsFC691M6nie6wqd77kvEfg23YgHq1jL9DTWA==" }, "bluebird": { "version": "3.7.2", diff --git a/package.json b/package.json index c64fb60edd..725a064f26 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/AssemblyScript/assemblyscript/issues" }, "dependencies": { - "binaryen": "97.0.0-nightly.20201008", + "binaryen": "98.0.0-nightly.20201019", "long": "^4.0.0", "source-map-support": "^0.5.19", "ts-node": "^6.2.0" diff --git a/tests/compiler/std/math.optimized.wat b/tests/compiler/std/math.optimized.wat index a4fdf778e8..afe6c212a1 100644 --- a/tests/compiler/std/math.optimized.wat +++ b/tests/compiler/std/math.optimized.wat @@ -185,15 +185,11 @@ i64.const 63 i64.shr_u i32.wrap_i64 - i32.const 0 - i32.ne local.get $1 i64.reinterpret_f64 i64.const 63 i64.shr_u i32.wrap_i64 - i32.const 0 - i32.ne i32.eq if local.get $2 @@ -371,14 +367,10 @@ i32.reinterpret_f32 i32.const 31 i32.shr_u - i32.const 0 - i32.ne local.get $1 i32.reinterpret_f32 i32.const 31 i32.shr_u - i32.const 0 - i32.ne i32.eq if local.get $2 diff --git a/tests/compiler/std/string-casemapping.optimized.wat b/tests/compiler/std/string-casemapping.optimized.wat index ed7987951f..2a3e6923b5 100644 --- a/tests/compiler/std/string-casemapping.optimized.wat +++ b/tests/compiler/std/string-casemapping.optimized.wat @@ -1863,11 +1863,9 @@ end call $~lib/rt/tlsf/maybeInitialize local.get $8 - i32.const 3 + i32.const 6 i32.mul i32.const 1 - i32.shl - i32.const 1 call $~lib/rt/tlsf/allocateBlock i32.const 16 i32.add @@ -2123,8 +2121,6 @@ i32.sub i32.const 26 i32.lt_u - i32.const 0 - i32.ne i32.const 5 i32.shl i32.const -1 @@ -2786,8 +2782,6 @@ i32.sub i32.const 26 i32.lt_u - i32.const 0 - i32.ne i32.const 5 i32.shl i32.or