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 21
21
"url" : " https://github.com/AssemblyScript/assemblyscript/issues"
22
22
},
23
23
"dependencies" : {
24
- "binaryen" : " 93 .0.0-nightly.20200611 " ,
24
+ "binaryen" : " 94 .0.0-nightly.20200716 " ,
25
25
"long" : " ^4.0.0" ,
26
26
"source-map-support" : " ^0.5.19" ,
27
27
"ts-node" : " ^6.2.0"
28
28
},
29
29
"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 " ,
33
33
"browser-process-hrtime" : " ^1.0.0" ,
34
34
"diff" : " ^4.0.2" ,
35
- "eslint" : " ^7.2 .0" ,
35
+ "eslint" : " ^7.4 .0" ,
36
36
"glob" : " ^7.1.6" ,
37
37
"physical-cpu-count" : " ^2.0.0" ,
38
38
"semantic-release" : " github:dcodeIO/semantic-release" ,
39
39
"source-map-support" : " ^0.5.19" ,
40
- "ts-loader" : " ^7 .0.5 " ,
40
+ "ts-loader" : " ^8 .0.1 " ,
41
41
"ts-node" : " ^6.2.0" ,
42
- "typescript" : " ^3.9.5 " ,
42
+ "typescript" : " ^3.9.6 " ,
43
43
"webpack" : " ^4.43.0" ,
44
- "webpack-cli" : " ^3.3.11 "
44
+ "webpack-cli" : " ^3.3.12 "
45
45
},
46
46
"main" : " index.js" ,
47
47
"types" : " index.d.ts" ,
Original file line number Diff line number Diff line change 338
338
f64.mul
339
339
)
340
340
(func $start:binary
341
- global.get $binary/i
342
- i32.const 1
343
- i32.rem_s
344
- drop
345
341
global.get $binary/i
346
342
call $~lib/math/ipow32
347
343
drop
353
349
i32.const 1
354
350
i32.sub
355
351
global.set $binary/i
356
- global.get $binary/i
357
- i32.const 1
358
- i32.rem_s
352
+ i32.const 0
359
353
global.set $binary/i
360
- global.get $binary/i
354
+ i32.const 0
361
355
call $~lib/math/ipow32
362
356
global.set $binary/i
363
357
global.get $binary/i
392
386
i32.const 1
393
387
i32.sub
394
388
global.set $binary/i
395
- global.get $binary/i
396
- i32.const 1
397
- i32.rem_s
389
+ i32.const 0
398
390
global.set $binary/i
399
- global.get $binary/i
400
- i32.const 1
401
- i32.shl
391
+ i32.const 0
402
392
global.set $binary/i
403
- global.get $binary/i
404
- i32.const 1
405
- i32.shr_s
393
+ i32.const 0
406
394
global.set $binary/i
407
- global.get $binary/i
408
- i32.const 1
409
- i32.shr_u
395
+ i32.const 0
410
396
global.set $binary/i
411
- global.get $binary/i
412
- i32.const 1
413
- i32.and
397
+ i32.const 0
414
398
global.set $binary/i
415
- global.get $binary/i
416
399
i32.const 1
417
- i32.or
418
400
global.set $binary/i
419
- global.get $binary/i
420
- i32.const 1
421
- i32.xor
401
+ i32.const 0
422
402
global.set $binary/i
423
403
global.get $binary/I
424
404
i64.const 1
425
- i64.rem_s
426
- drop
427
- global.get $binary/I
428
- i64.const 1
429
405
i64.add
430
406
global.set $binary/I
431
407
global.get $binary/I
432
408
i64.const 1
433
409
i64.sub
434
410
global.set $binary/I
435
- global.get $binary/I
436
- i64.const 1
437
- i64.rem_s
411
+ i64.const 0
438
412
global.set $binary/I
439
- global.get $binary/I
440
- f64.convert_i64_s
441
- i64.trunc_f64_s
413
+ i64.const 0
442
414
global.set $binary/I
443
- global.get $binary/I
444
- i64.const 1
445
- i64.shl
415
+ i64.const 0
446
416
global.set $binary/I
447
- global.get $binary/I
448
- i64.const 1
449
- i64.shr_s
417
+ i64.const 0
450
418
global.set $binary/I
451
- global.get $binary/I
452
- i64.const 1
453
- i64.shr_u
419
+ i64.const 0
454
420
global.set $binary/I
455
421
global.get $binary/I
456
422
i64.const 1
472
438
i64.const 1
473
439
i64.sub
474
440
global.set $binary/I
475
- global.get $binary/I
476
- i64.const 1
477
- i64.rem_s
441
+ i64.const 0
478
442
global.set $binary/I
479
- global.get $binary/I
480
- i64.const 1
481
- i64.shl
443
+ i64.const 0
482
444
global.set $binary/I
483
- global.get $binary/I
484
- i64.const 1
485
- i64.shr_s
445
+ i64.const 0
486
446
global.set $binary/I
487
- global.get $binary/I
488
- i64.const 1
489
- i64.shr_u
447
+ i64.const 0
490
448
global.set $binary/I
491
- global.get $binary/I
492
- i64.const 1
493
- i64.and
449
+ i64.const 0
494
450
global.set $binary/I
495
- global.get $binary/I
496
451
i64.const 1
497
- i64.or
498
452
global.set $binary/I
499
- global.get $binary/I
500
- i64.const 1
501
- i64.xor
453
+ i64.const 0
502
454
global.set $binary/I
503
455
global.get $binary/f
504
456
call $~lib/math/NativeMathf.mod
Original file line number Diff line number Diff line change 1173
1173
i64.const 32
1174
1174
i64.shr_u
1175
1175
local.tee $3
1176
- i64.const 2147483648
1177
- i64.mul
1176
+ i64.const 31
1177
+ i64.shl
1178
1178
local.get $2
1179
1179
i64.const 4294967295
1180
1180
i64.and
1181
1181
local.tee $2
1182
- i64.const 2147483648
1183
- i64.mul
1182
+ i64.const 31
1183
+ i64.shl
1184
1184
i64.const 0
1185
1185
i64.add
1186
1186
local.tee $1
1202
1202
i32.const 2
1203
1203
i32.add
1204
1204
local.get $3
1205
- i64.const 2147483648
1206
- i64.mul
1205
+ i64.const 31
1206
+ i64.shl
1207
1207
local.get $2
1208
- i64.const 2147483648
1209
- i64.mul
1208
+ i64.const 31
1209
+ i64.shl
1210
1210
local.get $2
1211
- i64.const 1024
1212
- i64.mul
1211
+ i64.const 10
1212
+ i64.shl
1213
1213
i64.const 32
1214
1214
i64.shr_u
1215
1215
i64.add
1216
1216
local.tee $1
1217
1217
i64.const 32
1218
1218
i64.shr_u
1219
1219
i64.add
1220
- local.get $3
1221
- i64.const 1024
1222
- i64.mul
1223
1220
local.get $1
1224
1221
i64.const 4294967295
1225
1222
i64.and
1223
+ local.get $3
1224
+ i64.const 10
1225
+ i64.shl
1226
1226
i64.add
1227
1227
i64.const 2147483647
1228
1228
i64.add
Original file line number Diff line number Diff line change 1187
1187
i64.const 32
1188
1188
i64.shr_u
1189
1189
local.tee $3
1190
- i64.const 2147483648
1191
- i64.mul
1190
+ i64.const 31
1191
+ i64.shl
1192
1192
local.get $2
1193
1193
i64.const 4294967295
1194
1194
i64.and
1195
1195
local.tee $2
1196
- i64.const 2147483648
1197
- i64.mul
1196
+ i64.const 31
1197
+ i64.shl
1198
1198
i64.const 0
1199
1199
i64.add
1200
1200
local.tee $1
1216
1216
i32.const 3
1217
1217
i32.add
1218
1218
local.get $3
1219
- i64.const 2147483648
1220
- i64.mul
1219
+ i64.const 31
1220
+ i64.shl
1221
1221
local.get $2
1222
- i64.const 2147483648
1223
- i64.mul
1222
+ i64.const 31
1223
+ i64.shl
1224
1224
local.get $2
1225
- i64.const 1024
1226
- i64.mul
1225
+ i64.const 10
1226
+ i64.shl
1227
1227
i64.const 32
1228
1228
i64.shr_u
1229
1229
i64.add
1230
1230
local.tee $1
1231
1231
i64.const 32
1232
1232
i64.shr_u
1233
1233
i64.add
1234
- local.get $3
1235
- i64.const 1024
1236
- i64.mul
1237
1234
local.get $1
1238
1235
i64.const 4294967295
1239
1236
i64.and
1237
+ local.get $3
1238
+ i64.const 10
1239
+ i64.shl
1240
1240
i64.add
1241
1241
i64.const 2147483647
1242
1242
i64.add
Original file line number Diff line number Diff line change 2159
2159
i64.const 32
2160
2160
i64.shr_u
2161
2161
local.tee $3
2162
- i64.const 2147483648
2163
- i64.mul
2162
+ i64.const 31
2163
+ i64.shl
2164
2164
local.get $2
2165
2165
i64.const 4294967295
2166
2166
i64.and
2167
2167
local.tee $2
2168
- i64.const 2147483648
2169
- i64.mul
2168
+ i64.const 31
2169
+ i64.shl
2170
2170
i64.const 0
2171
2171
i64.add
2172
2172
local.tee $1
2188
2188
i32.const 1
2189
2189
i32.add
2190
2190
local.get $3
2191
- i64.const 2147483648
2192
- i64.mul
2191
+ i64.const 31
2192
+ i64.shl
2193
2193
local.get $2
2194
- i64.const 2147483648
2195
- i64.mul
2194
+ i64.const 31
2195
+ i64.shl
2196
2196
local.get $2
2197
- i64.const 1024
2198
- i64.mul
2197
+ i64.const 10
2198
+ i64.shl
2199
2199
i64.const 32
2200
2200
i64.shr_u
2201
2201
i64.add
2202
2202
local.tee $1
2203
2203
i64.const 32
2204
2204
i64.shr_u
2205
2205
i64.add
2206
- local.get $3
2207
- i64.const 1024
2208
- i64.mul
2209
2206
local.get $1
2210
2207
i64.const 4294967295
2211
2208
i64.and
2209
+ local.get $3
2210
+ i64.const 10
2211
+ i64.shl
2212
2212
i64.add
2213
2213
i64.const 2147483647
2214
2214
i64.add
Original file line number Diff line number Diff line change 8385
8385
local.get $6
8386
8386
)
8387
8387
(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
8390
8388
local.get $0
8391
- i64.const 2
8392
- i64.rem_u
8389
+ i64.const 1
8390
+ i64.and
8393
8391
i64.eqz
8394
- local.set $2
8395
- call $~lib/rt/pure/__release
8396
- local.get $2
8397
8392
)
8398
8393
(func $~lib/math/NativeMathf.mod (param $0 f32) (result f32)
8399
8394
(local $1 i32)
You can’t perform that action at this time.
0 commit comments