Skip to content

Commit cd1cfe6

Browse files
committed
Update Binaryen to latest and rebuild dist files
1 parent c95c0f5 commit cd1cfe6

File tree

194 files changed

+68281
-68281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+68281
-68281
lines changed

dist/asc.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/asc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assemblyscript.js

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

dist/assemblyscript.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 764 additions & 764 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
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"@protobufjs/utf8": "^1.1.0",
15-
"binaryen": "63.0.0-nightly.20190107",
15+
"binaryen": "67.0.0-nightly.20190203",
1616
"glob": "^7.1.3",
1717
"long": "^4.0.0"
1818
},

tests/compiler/abi.optimized.wat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
66
(memory $0 1)
77
(data (i32.const 8) "\06\00\00\00a\00b\00i\00.\00t\00s")
8-
(table $0 1 anyfunc)
8+
(table $0 1 funcref)
99
(elem (i32.const 0) $null)
1010
(global $abi/condition (mut i32) (i32.const 0))
1111
(global $abi/y (mut i32) (i32.const 0))
@@ -20,10 +20,10 @@
2020
)
2121
(func $start (; 2 ;) (type $v)
2222
i32.const 1
23-
set_global $abi/condition
23+
global.set $abi/condition
2424
i32.const 0
25-
set_global $abi/y
26-
get_global $abi/y
25+
global.set $abi/y
26+
global.get $abi/y
2727
if
2828
i32.const 0
2929
i32.const 8

tests/compiler/abi.untouched.wat

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
66
(memory $0 1)
77
(data (i32.const 8) "\06\00\00\00a\00b\00i\00.\00t\00s\00")
8-
(table $0 1 anyfunc)
8+
(table $0 1 funcref)
99
(elem (i32.const 0) $null)
1010
(global $abi/condition (mut i32) (i32.const 0))
1111
(global $abi/y (mut i32) (i32.const 0))
@@ -43,11 +43,11 @@
4343
drop
4444
i32.const 0
4545
i32.eqz
46-
set_global $abi/condition
46+
global.set $abi/condition
4747
block
4848
i32.const 256
49-
set_local $0
50-
get_local $0
49+
local.set $0
50+
local.get $0
5151
i32.const 24
5252
i32.shl
5353
i32.const 24
@@ -65,28 +65,28 @@
6565
end
6666
block
6767
i32.const 256
68-
set_local $0
69-
get_global $abi/condition
68+
local.set $0
69+
global.get $abi/condition
7070
if
71-
get_local $0
71+
local.get $0
7272
i32.const 24
7373
i32.shl
7474
i32.const 24
7575
i32.shr_s
7676
i32.const 2
7777
i32.div_s
78-
set_local $0
78+
local.set $0
7979
else
80-
get_local $0
80+
local.get $0
8181
i32.const 24
8282
i32.shl
8383
i32.const 24
8484
i32.shr_s
8585
i32.const 2
8686
i32.div_s
87-
set_local $0
87+
local.set $0
8888
end
89-
get_local $0
89+
local.get $0
9090
i32.const 24
9191
i32.shl
9292
i32.const 24
@@ -104,24 +104,24 @@
104104
end
105105
block
106106
i32.const 256
107-
set_local $0
108-
get_global $abi/condition
107+
local.set $0
108+
global.get $abi/condition
109109
if
110-
get_local $0
110+
local.get $0
111111
i32.const 24
112112
i32.shl
113113
i32.const 24
114114
i32.shr_s
115115
i32.const 24
116116
i32.shr_s
117-
set_local $0
117+
local.set $0
118118
else
119-
get_local $0
119+
local.get $0
120120
i32.const 127
121121
i32.and
122-
set_local $0
122+
local.set $0
123123
end
124-
get_local $0
124+
local.get $0
125125
i32.eqz
126126
i32.eqz
127127
if
@@ -139,8 +139,8 @@
139139
i32.shl
140140
i32.const 24
141141
i32.shr_s
142-
set_global $abi/y
143-
get_global $abi/y
142+
global.set $abi/y
143+
global.get $abi/y
144144
i32.eqz
145145
i32.eqz
146146
if
@@ -155,8 +155,8 @@
155155
block
156156
i32.const 2
157157
i32.ctz
158-
set_local $0
159-
get_local $0
158+
local.set $0
159+
local.get $0
160160
i32.const 0
161161
i32.ne
162162
i32.eqz
@@ -170,8 +170,8 @@
170170
end
171171
i32.const 1
172172
i32.clz
173-
set_local $0
174-
get_local $0
173+
local.set $0
174+
local.get $0
175175
i32.const 0
176176
i32.ne
177177
i32.eqz
@@ -185,8 +185,8 @@
185185
end
186186
i32.const 2
187187
i32.ctz
188-
set_local $1
189-
get_local $1
188+
local.set $1
189+
local.get $1
190190
i32.eqz
191191
if
192192
i32.const 0
@@ -198,8 +198,8 @@
198198
end
199199
i32.const 1
200200
i32.clz
201-
set_local $1
202-
get_local $1
201+
local.set $1
202+
local.get $1
203203
i32.eqz
204204
if
205205
i32.const 0

tests/compiler/asc-constants.optimized.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(module
22
(type $v (func))
33
(memory $0 0)
4-
(table $0 1 anyfunc)
4+
(table $0 1 funcref)
55
(elem (i32.const 0) $start)
66
(export "memory" (memory $0))
77
(export "table" (table $0))

tests/compiler/asc-constants.untouched.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(module
22
(type $v (func))
33
(memory $0 0)
4-
(table $0 1 anyfunc)
4+
(table $0 1 funcref)
55
(elem (i32.const 0) $null)
66
(global $ASC_TARGET i32 (i32.const 0))
77
(global $ASC_NO_TREESHAKING i32 (i32.const 0))

0 commit comments

Comments
 (0)