From 0c2043a8da387c057540bc9c8fe6af84403ac204 Mon Sep 17 00:00:00 2001 From: MaxGraey Date: Thu, 15 Oct 2020 12:59:33 +0300 Subject: [PATCH 1/2] update binaryen --- package-lock.json | 6 +++--- package.json | 2 +- tests/compiler/std/string-casemapping.optimized.wat | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index a0722f9e06..270fd1f6e4 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.20201015", + "resolved": "https://registry.npmjs.org/binaryen/-/binaryen-98.0.0-nightly.20201015.tgz", + "integrity": "sha512-VPzlflh1xqf9ibHC/sRzGQ2p3evbX6AJB94xm3nu5NDzyWW8CSkTuDatUxDWl5PKUq8Z3lk+sciZzCevTxHeAA==" }, "bluebird": { "version": "3.7.2", diff --git a/package.json b/package.json index c64fb60edd..917c074709 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.20201015", "long": "^4.0.0", "source-map-support": "^0.5.19", "ts-node": "^6.2.0" diff --git a/tests/compiler/std/string-casemapping.optimized.wat b/tests/compiler/std/string-casemapping.optimized.wat index ed7987951f..01d5177e03 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 From 41a53abb17b558780c7e9f2e2bc36d9a793d7d88 Mon Sep 17 00:00:00 2001 From: MaxGraey Date: Mon, 19 Oct 2020 11:10:35 +0300 Subject: [PATCH 2/2] update --- package-lock.json | 6 +++--- package.json | 2 +- tests/compiler/std/math.optimized.wat | 8 -------- tests/compiler/std/string-casemapping.optimized.wat | 4 ---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 270fd1f6e4..e3d06a3f3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1163,9 +1163,9 @@ "optional": true }, "binaryen": { - "version": "98.0.0-nightly.20201015", - "resolved": "https://registry.npmjs.org/binaryen/-/binaryen-98.0.0-nightly.20201015.tgz", - "integrity": "sha512-VPzlflh1xqf9ibHC/sRzGQ2p3evbX6AJB94xm3nu5NDzyWW8CSkTuDatUxDWl5PKUq8Z3lk+sciZzCevTxHeAA==" + "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 917c074709..725a064f26 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/AssemblyScript/assemblyscript/issues" }, "dependencies": { - "binaryen": "98.0.0-nightly.20201015", + "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 01d5177e03..2a3e6923b5 100644 --- a/tests/compiler/std/string-casemapping.optimized.wat +++ b/tests/compiler/std/string-casemapping.optimized.wat @@ -2121,8 +2121,6 @@ i32.sub i32.const 26 i32.lt_u - i32.const 0 - i32.ne i32.const 5 i32.shl i32.const -1 @@ -2784,8 +2782,6 @@ i32.sub i32.const 26 i32.lt_u - i32.const 0 - i32.ne i32.const 5 i32.shl i32.or