File tree Expand file tree Collapse file tree 7 files changed +743
-1161
lines changed Expand file tree Collapse file tree 7 files changed +743
-1161
lines changed Original file line number Diff line number Diff line change 2121 "url" : " https://github.com/AssemblyScript/assemblyscript/issues"
2222 },
2323 "dependencies" : {
24- "binaryen" : " 93 .0.0-nightly.20200611 " ,
24+ "binaryen" : " 94 .0.0-nightly.20200716 " ,
2525 "long" : " ^4.0.0" ,
2626 "source-map-support" : " ^0.5.19" ,
2727 "ts-node" : " ^6.2.0"
2828 },
2929 "devDependencies" : {
30- "@types/node" : " ^14.0.13 " ,
31- "@typescript-eslint/eslint-plugin" : " ^3.2.0 " ,
32- "@typescript-eslint/parser" : " ^3.2.0 " ,
30+ "@types/node" : " ^14.0.23 " ,
31+ "@typescript-eslint/eslint-plugin" : " ^3.6.1 " ,
32+ "@typescript-eslint/parser" : " ^3.6.1 " ,
3333 "browser-process-hrtime" : " ^1.0.0" ,
3434 "diff" : " ^4.0.2" ,
35- "eslint" : " ^7.2 .0" ,
35+ "eslint" : " ^7.4 .0" ,
3636 "glob" : " ^7.1.6" ,
3737 "physical-cpu-count" : " ^2.0.0" ,
3838 "semantic-release" : " github:dcodeIO/semantic-release" ,
3939 "source-map-support" : " ^0.5.19" ,
40- "ts-loader" : " ^7 .0.5 " ,
40+ "ts-loader" : " ^8 .0.1 " ,
4141 "ts-node" : " ^6.2.0" ,
42- "typescript" : " ^3.9.5 " ,
42+ "typescript" : " ^3.9.6 " ,
4343 "webpack" : " ^4.43.0" ,
44- "webpack-cli" : " ^3.3.11 "
44+ "webpack-cli" : " ^3.3.12 "
4545 },
4646 "main" : " index.js" ,
4747 "types" : " index.d.ts" ,
Original file line number Diff line number Diff line change 338338 f64.mul
339339 )
340340 (func $start:binary
341- global.get $binary/i
342- i32.const 1
343- i32.rem_s
344- drop
345341 global.get $binary/i
346342 call $~lib/math/ipow32
347343 drop
353349 i32.const 1
354350 i32.sub
355351 global.set $binary/i
356- global.get $binary/i
357- i32.const 1
358- i32.rem_s
352+ i32.const 0
359353 global.set $binary/i
360- global.get $binary/i
354+ i32.const 0
361355 call $~lib/math/ipow32
362356 global.set $binary/i
363357 global.get $binary/i
392386 i32.const 1
393387 i32.sub
394388 global.set $binary/i
395- global.get $binary/i
396- i32.const 1
397- i32.rem_s
389+ i32.const 0
398390 global.set $binary/i
399- global.get $binary/i
400- i32.const 1
401- i32.shl
391+ i32.const 0
402392 global.set $binary/i
403- global.get $binary/i
404- i32.const 1
405- i32.shr_s
393+ i32.const 0
406394 global.set $binary/i
407- global.get $binary/i
408- i32.const 1
409- i32.shr_u
395+ i32.const 0
410396 global.set $binary/i
411- global.get $binary/i
412- i32.const 1
413- i32.and
397+ i32.const 0
414398 global.set $binary/i
415- global.get $binary/i
416399 i32.const 1
417- i32.or
418400 global.set $binary/i
419- global.get $binary/i
420- i32.const 1
421- i32.xor
401+ i32.const 0
422402 global.set $binary/i
423403 global.get $binary/I
424404 i64.const 1
425- i64.rem_s
426- drop
427- global.get $binary/I
428- i64.const 1
429405 i64.add
430406 global.set $binary/I
431407 global.get $binary/I
432408 i64.const 1
433409 i64.sub
434410 global.set $binary/I
435- global.get $binary/I
436- i64.const 1
437- i64.rem_s
411+ i64.const 0
438412 global.set $binary/I
439- global.get $binary/I
440- f64.convert_i64_s
441- i64.trunc_f64_s
413+ i64.const 0
442414 global.set $binary/I
443- global.get $binary/I
444- i64.const 1
445- i64.shl
415+ i64.const 0
446416 global.set $binary/I
447- global.get $binary/I
448- i64.const 1
449- i64.shr_s
417+ i64.const 0
450418 global.set $binary/I
451- global.get $binary/I
452- i64.const 1
453- i64.shr_u
419+ i64.const 0
454420 global.set $binary/I
455421 global.get $binary/I
456422 i64.const 1
472438 i64.const 1
473439 i64.sub
474440 global.set $binary/I
475- global.get $binary/I
476- i64.const 1
477- i64.rem_s
441+ i64.const 0
478442 global.set $binary/I
479- global.get $binary/I
480- i64.const 1
481- i64.shl
443+ i64.const 0
482444 global.set $binary/I
483- global.get $binary/I
484- i64.const 1
485- i64.shr_s
445+ i64.const 0
486446 global.set $binary/I
487- global.get $binary/I
488- i64.const 1
489- i64.shr_u
447+ i64.const 0
490448 global.set $binary/I
491- global.get $binary/I
492- i64.const 1
493- i64.and
449+ i64.const 0
494450 global.set $binary/I
495- global.get $binary/I
496451 i64.const 1
497- i64.or
498452 global.set $binary/I
499- global.get $binary/I
500- i64.const 1
501- i64.xor
453+ i64.const 0
502454 global.set $binary/I
503455 global.get $binary/f
504456 call $~lib/math/NativeMathf.mod
Original file line number Diff line number Diff line change 11731173 i64.const 32
11741174 i64.shr_u
11751175 local.tee $3
1176- i64.const 2147483648
1177- i64.mul
1176+ i64.const 31
1177+ i64.shl
11781178 local.get $2
11791179 i64.const 4294967295
11801180 i64.and
11811181 local.tee $2
1182- i64.const 2147483648
1183- i64.mul
1182+ i64.const 31
1183+ i64.shl
11841184 i64.const 0
11851185 i64.add
11861186 local.tee $1
12021202 i32.const 2
12031203 i32.add
12041204 local.get $3
1205- i64.const 2147483648
1206- i64.mul
1205+ i64.const 31
1206+ i64.shl
12071207 local.get $2
1208- i64.const 2147483648
1209- i64.mul
1208+ i64.const 31
1209+ i64.shl
12101210 local.get $2
1211- i64.const 1024
1212- i64.mul
1211+ i64.const 10
1212+ i64.shl
12131213 i64.const 32
12141214 i64.shr_u
12151215 i64.add
12161216 local.tee $1
12171217 i64.const 32
12181218 i64.shr_u
12191219 i64.add
1220- local.get $3
1221- i64.const 1024
1222- i64.mul
12231220 local.get $1
12241221 i64.const 4294967295
12251222 i64.and
1223+ local.get $3
1224+ i64.const 10
1225+ i64.shl
12261226 i64.add
12271227 i64.const 2147483647
12281228 i64.add
Original file line number Diff line number Diff line change 11871187 i64.const 32
11881188 i64.shr_u
11891189 local.tee $3
1190- i64.const 2147483648
1191- i64.mul
1190+ i64.const 31
1191+ i64.shl
11921192 local.get $2
11931193 i64.const 4294967295
11941194 i64.and
11951195 local.tee $2
1196- i64.const 2147483648
1197- i64.mul
1196+ i64.const 31
1197+ i64.shl
11981198 i64.const 0
11991199 i64.add
12001200 local.tee $1
12161216 i32.const 3
12171217 i32.add
12181218 local.get $3
1219- i64.const 2147483648
1220- i64.mul
1219+ i64.const 31
1220+ i64.shl
12211221 local.get $2
1222- i64.const 2147483648
1223- i64.mul
1222+ i64.const 31
1223+ i64.shl
12241224 local.get $2
1225- i64.const 1024
1226- i64.mul
1225+ i64.const 10
1226+ i64.shl
12271227 i64.const 32
12281228 i64.shr_u
12291229 i64.add
12301230 local.tee $1
12311231 i64.const 32
12321232 i64.shr_u
12331233 i64.add
1234- local.get $3
1235- i64.const 1024
1236- i64.mul
12371234 local.get $1
12381235 i64.const 4294967295
12391236 i64.and
1237+ local.get $3
1238+ i64.const 10
1239+ i64.shl
12401240 i64.add
12411241 i64.const 2147483647
12421242 i64.add
Original file line number Diff line number Diff line change 21592159 i64.const 32
21602160 i64.shr_u
21612161 local.tee $3
2162- i64.const 2147483648
2163- i64.mul
2162+ i64.const 31
2163+ i64.shl
21642164 local.get $2
21652165 i64.const 4294967295
21662166 i64.and
21672167 local.tee $2
2168- i64.const 2147483648
2169- i64.mul
2168+ i64.const 31
2169+ i64.shl
21702170 i64.const 0
21712171 i64.add
21722172 local.tee $1
21882188 i32.const 1
21892189 i32.add
21902190 local.get $3
2191- i64.const 2147483648
2192- i64.mul
2191+ i64.const 31
2192+ i64.shl
21932193 local.get $2
2194- i64.const 2147483648
2195- i64.mul
2194+ i64.const 31
2195+ i64.shl
21962196 local.get $2
2197- i64.const 1024
2198- i64.mul
2197+ i64.const 10
2198+ i64.shl
21992199 i64.const 32
22002200 i64.shr_u
22012201 i64.add
22022202 local.tee $1
22032203 i64.const 32
22042204 i64.shr_u
22052205 i64.add
2206- local.get $3
2207- i64.const 1024
2208- i64.mul
22092206 local.get $1
22102207 i64.const 4294967295
22112208 i64.and
2209+ local.get $3
2210+ i64.const 10
2211+ i64.shl
22122212 i64.add
22132213 i64.const 2147483647
22142214 i64.add
Original file line number Diff line number Diff line change 83858385 local.get $6
83868386 )
83878387 (func $std/typedarray/testArrayEvery<~lib/typedarray/Uint64Array,u64>~anonymous|0 (param $0 i64) (param $1 i32) (param $2 i32) (result i32)
8388- local.get $2
8389- call $~lib/rt/pure/__retain
83908388 local.get $0
8391- i64.const 2
8392- i64.rem_u
8389+ i64.const 1
8390+ i64.and
83938391 i64.eqz
8394- local.set $2
8395- call $~lib/rt/pure/__release
8396- local.get $2
83978392 )
83988393 (func $~lib/math/NativeMathf.mod (param $0 f32) (result f32)
83998394 (local $1 i32)
You can’t perform that action at this time.
0 commit comments