Skip to content

Commit 78a6797

Browse files
committed
Update dependencies
1 parent ee73a4d commit 78a6797

File tree

8 files changed

+383
-658
lines changed

8 files changed

+383
-658
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@
1212
},
1313
"dependencies": {
1414
"@protobufjs/utf8": "^1.1.0",
15-
"binaryen": "45.0.0-nightly.20180330",
15+
"binaryen": "45.0.0-nightly.20180412",
1616
"glob": "^7.1.2",
1717
"long": "^4.0.0",
1818
"minimist": "^1.2.0",
1919
"ts-node": "^5.0.1"
2020
},
2121
"devDependencies": {
22-
"@types/node": "^9.6.1",
22+
"@types/node": "^9.6.4",
2323
"browser-process-hrtime": "^0.1.2",
2424
"chalk": "^2.3.2",
2525
"diff": "^3.5.0",
2626
"source-map-support": "^0.5.4",
27-
"ts-loader": "^4.1.0",
27+
"ts-loader": "^4.2.0",
2828
"tslint": "^5.9.1",
2929
"typedoc": "^0.11.1",
3030
"typedoc-plugin-external-module-name": "^1.1.1",
3131
"typescript": "^2.8.1",
32-
"webpack": "^4.4.1",
33-
"webpack-cli": "^2.0.13"
32+
"webpack": "^4.5.0",
33+
"webpack-cli": "^2.0.14"
3434
},
3535
"main": "index.js",
3636
"types": "index.d.ts",

tests/compiler/binary.optimized.wat

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,9 @@
844844
)
845845
)
846846
(set_local $5
847-
(i32.sub
847+
(i32.add
848848
(get_local $5)
849-
(i32.const 1048576)
849+
(i32.const -1048576)
850850
)
851851
)
852852
(i32.const 0)
@@ -3531,12 +3531,6 @@
35313531
)
35323532
)
35333533
(func $start (; 6 ;) (type $v)
3534-
(drop
3535-
(i32.div_s
3536-
(get_global $binary/i)
3537-
(i32.const 1)
3538-
)
3539-
)
35403534
(drop
35413535
(i32.rem_s
35423536
(get_global $binary/i)
@@ -3599,12 +3593,6 @@
35993593
(i32.const 1)
36003594
)
36013595
)
3602-
(set_global $binary/i
3603-
(i32.div_s
3604-
(get_global $binary/i)
3605-
(i32.const 1)
3606-
)
3607-
)
36083596
(set_global $binary/i
36093597
(i32.rem_s
36103598
(get_global $binary/i)
@@ -3711,12 +3699,6 @@
37113699
(i32.const 1)
37123700
)
37133701
)
3714-
(drop
3715-
(i64.div_s
3716-
(get_global $binary/I)
3717-
(i64.const 1)
3718-
)
3719-
)
37203702
(drop
37213703
(i64.rem_s
37223704
(get_global $binary/I)
@@ -3779,18 +3761,6 @@
37793761
(i64.const 1)
37803762
)
37813763
)
3782-
(set_global $binary/I
3783-
(i64.mul
3784-
(get_global $binary/I)
3785-
(i64.const 1)
3786-
)
3787-
)
3788-
(set_global $binary/I
3789-
(i64.div_s
3790-
(get_global $binary/I)
3791-
(i64.const 1)
3792-
)
3793-
)
37943764
(set_global $binary/I
37953765
(i64.rem_s
37963766
(get_global $binary/I)
@@ -3855,12 +3825,6 @@
38553825
(i64.const 1)
38563826
)
38573827
)
3858-
(set_global $binary/I
3859-
(i64.mul
3860-
(get_global $binary/I)
3861-
(i64.const 1)
3862-
)
3863-
)
38643828
(set_global $binary/I
38653829
(i64.rem_s
38663830
(get_global $binary/I)
@@ -3963,18 +3927,6 @@
39633927
(f32.const 1)
39643928
)
39653929
)
3966-
(set_global $binary/f
3967-
(f32.mul
3968-
(get_global $binary/f)
3969-
(f32.const 1)
3970-
)
3971-
)
3972-
(set_global $binary/f
3973-
(f32.div
3974-
(get_global $binary/f)
3975-
(f32.const 1)
3976-
)
3977-
)
39783930
(set_global $binary/f
39793931
(call $~lib/math/NativeMathf.mod
39803932
(get_global $binary/f)
@@ -3999,12 +3951,6 @@
39993951
(f32.const 1)
40003952
)
40013953
)
4002-
(set_global $binary/f
4003-
(f32.mul
4004-
(get_global $binary/f)
4005-
(f32.const 1)
4006-
)
4007-
)
40083954
(set_global $binary/f
40093955
(call $~lib/math/NativeMathf.mod
40103956
(get_global $binary/f)
@@ -4077,18 +4023,6 @@
40774023
(f64.const 1)
40784024
)
40794025
)
4080-
(set_global $binary/F
4081-
(f64.mul
4082-
(get_global $binary/F)
4083-
(f64.const 1)
4084-
)
4085-
)
4086-
(set_global $binary/F
4087-
(f64.div
4088-
(get_global $binary/F)
4089-
(f64.const 1)
4090-
)
4091-
)
40924026
(set_global $binary/F
40934027
(call $~lib/math/NativeMath.mod
40944028
(get_global $binary/F)
@@ -4113,12 +4047,6 @@
41134047
(f64.const 1)
41144048
)
41154049
)
4116-
(set_global $binary/F
4117-
(f64.mul
4118-
(get_global $binary/F)
4119-
(f64.const 1)
4120-
)
4121-
)
41224050
(set_global $binary/F
41234051
(call $~lib/math/NativeMath.mod
41244052
(get_global $binary/F)

tests/compiler/showcase.optimized.wat

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,9 @@
893893
)
894894
)
895895
(set_local $5
896-
(i32.sub
896+
(i32.add
897897
(get_local $5)
898-
(i32.const 1048576)
898+
(i32.const -1048576)
899899
)
900900
)
901901
(i32.const 0)
@@ -5594,12 +5594,6 @@
55945594
(get_local $3)
55955595
)
55965596
)
5597-
(drop
5598-
(i32.div_s
5599-
(get_global $binary/i)
5600-
(i32.const 1)
5601-
)
5602-
)
56035597
(drop
56045598
(i32.rem_s
56055599
(get_global $binary/i)
@@ -5662,12 +5656,6 @@
56625656
(i32.const 1)
56635657
)
56645658
)
5665-
(set_global $binary/i
5666-
(i32.div_s
5667-
(get_global $binary/i)
5668-
(i32.const 1)
5669-
)
5670-
)
56715659
(set_global $binary/i
56725660
(i32.rem_s
56735661
(get_global $binary/i)
@@ -5774,12 +5762,6 @@
57745762
(i32.const 1)
57755763
)
57765764
)
5777-
(drop
5778-
(i64.div_s
5779-
(get_global $binary/I)
5780-
(i64.const 1)
5781-
)
5782-
)
57835765
(drop
57845766
(i64.rem_s
57855767
(get_global $binary/I)
@@ -5842,18 +5824,6 @@
58425824
(i64.const 1)
58435825
)
58445826
)
5845-
(set_global $binary/I
5846-
(i64.mul
5847-
(get_global $binary/I)
5848-
(i64.const 1)
5849-
)
5850-
)
5851-
(set_global $binary/I
5852-
(i64.div_s
5853-
(get_global $binary/I)
5854-
(i64.const 1)
5855-
)
5856-
)
58575827
(set_global $binary/I
58585828
(i64.rem_s
58595829
(get_global $binary/I)
@@ -5918,12 +5888,6 @@
59185888
(i64.const 1)
59195889
)
59205890
)
5921-
(set_global $binary/I
5922-
(i64.mul
5923-
(get_global $binary/I)
5924-
(i64.const 1)
5925-
)
5926-
)
59275891
(set_global $binary/I
59285892
(i64.rem_s
59295893
(get_global $binary/I)
@@ -6026,18 +5990,6 @@
60265990
(f32.const 1)
60275991
)
60285992
)
6029-
(set_global $binary/f
6030-
(f32.mul
6031-
(get_global $binary/f)
6032-
(f32.const 1)
6033-
)
6034-
)
6035-
(set_global $binary/f
6036-
(f32.div
6037-
(get_global $binary/f)
6038-
(f32.const 1)
6039-
)
6040-
)
60415993
(set_global $binary/f
60425994
(call $~lib/math/NativeMathf.mod
60435995
(get_global $binary/f)
@@ -6062,12 +6014,6 @@
60626014
(f32.const 1)
60636015
)
60646016
)
6065-
(set_global $binary/f
6066-
(f32.mul
6067-
(get_global $binary/f)
6068-
(f32.const 1)
6069-
)
6070-
)
60716017
(set_global $binary/f
60726018
(call $~lib/math/NativeMathf.mod
60736019
(get_global $binary/f)
@@ -6140,18 +6086,6 @@
61406086
(f64.const 1)
61416087
)
61426088
)
6143-
(set_global $binary/F
6144-
(f64.mul
6145-
(get_global $binary/F)
6146-
(f64.const 1)
6147-
)
6148-
)
6149-
(set_global $binary/F
6150-
(f64.div
6151-
(get_global $binary/F)
6152-
(f64.const 1)
6153-
)
6154-
)
61556089
(set_global $binary/F
61566090
(call $~lib/math/NativeMath.mod
61576091
(get_global $binary/F)
@@ -6176,12 +6110,6 @@
61766110
(f64.const 1)
61776111
)
61786112
)
6179-
(set_global $binary/F
6180-
(f64.mul
6181-
(get_global $binary/F)
6182-
(f64.const 1)
6183-
)
6184-
)
61856113
(set_global $binary/F
61866114
(call $~lib/math/NativeMath.mod
61876115
(get_global $binary/F)

0 commit comments

Comments
 (0)