260 Commits

Author SHA1 Message Date
dcode
81039c4167 FixedArray experimentation 2019-03-19 15:43:05 +01:00
dcode
74789c9c1e aliased makeCallInline, unmanaged rt alloc 2019-03-19 14:40:37 +01:00
dcode
7693b543f4 optimize array literal init, warn on unsupported inlining 2019-03-19 08:20:10 +01:00
dcode
83566a5512 eliminate unnecessary tee+drop in unchecked set 2019-03-18 18:27:48 +01:00
dcode
0932cf17ed use overloads for checked access 2019-03-18 16:09:49 +01:00
dcode
c147e98a55 capabilities to detect half/full runtime header 2019-03-18 13:45:10 +01:00
dcode
ba4c00efbd clean 2019-03-18 00:40:55 +01:00
dcode
edb2299f13 fixes 2019-03-17 12:25:54 +01:00
dcode
f21b339563 checked builtin array get, optimize abv layout 2019-03-17 08:46:26 +01:00
dcode
e63c6bd388 local flow flags, see what works 2019-03-17 01:35:44 +01:00
dcode
2d76da9465 alias locals when inlining a tail call 2019-03-17 00:11:16 +01:00
dcode
0c388ca4c6 make std/string test ok again 2019-03-16 14:48:22 +01:00
dcode
05a35f42f6 more 2019-03-16 11:24:13 +01:00
dcode
b8a08da7a5 more static array 2019-03-16 07:26:33 +01:00
dcode
058dc8d4fa static array stuff 2019-03-15 13:13:48 +01:00
dcode
968b0321a0 decisions 2019-03-15 09:26:31 +01:00
dcode
139cec0846 Merge branch 'master' into runtime 2019-03-14 13:02:51 +01:00
dcode
d3ca06b7ce inline single-use implementations 2019-03-14 12:52:46 +01:00
dcode
3a60638f72 simplify 2019-03-14 12:46:36 +01:00
dcode
3b8c2331f4 symbols 2019-03-14 07:45:59 +01:00
dcode
6163a73ab5 take a step back 2019-03-14 04:33:58 +01:00
dcode
6f70826e45 hmm 2019-03-13 09:05:02 +01:00
dcode
d9a5681489 arraybufferview 2019-03-11 07:45:47 +01:00
dcode
1198e71236 same for padStart 2019-03-11 01:29:12 +01:00
dcode
ebe92c62a8 untrampoline padEnd 2019-03-11 01:20:47 +01:00
dcode
ce82e5458e unshiftify padEnd 2019-03-11 01:16:05 +01:00
dcode
f076826e59 update std/string 2019-03-11 00:35:17 +01:00
dcode
cb77760562 unsafe, stub 2019-03-10 21:38:15 +01:00
dcode
5a2ab3d7ec what std/string would look like 2019-03-10 02:57:05 +01:00
dcode
5c25b0cb72 refactor 2019-03-09 02:44:46 +01:00
dcode
661e239fcb refactor 2019-03-09 02:37:05 +01:00
dcode
0c537c3363 test a few things 2019-03-09 02:04:08 +01:00
dcode
4f1a971a61 make it test again 2019-03-09 01:06:45 +01:00
jtenner
d411415060 Implement TypedArray#reverse (#532) 2019-03-08 18:48:06 +01:00
dcode
cdec865bef Update Binaryen to latest nightly 2019-03-08 16:19:46 +01:00
jtenner
783dd32c2e Implement TypedArray#forEach (#530) 2019-03-06 19:07:10 +01:00
Max Graey
208dc2f1de Implement Mathf.sin/cos/tan (#491) 2019-03-05 19:36:22 +01:00
Daniel Wirtz
4e1bba3a24
Use Binaryen's function signature naming scheme (#522) 2019-03-01 00:01:23 +01:00
dcode
7184db6dde Update Binaryen to latest and regenerate dist files 2019-02-28 18:26:04 +01:00
Daniel Wirtz
e1f1a3b49c
Implement v128 instructions (#508) 2019-02-28 17:36:22 +01:00
Max Graey
cdf40578b6 Refactor slices for better compliance (#430) 2019-02-27 21:51:07 +01:00
Daniel Wirtz
e8b0767143
Infer function expressions in matching contexts (#514)
* legalizes omitting types on function expressions within function type contexts
* legalizes omitting any number of arguments
2019-02-27 21:45:36 +01:00
Max Graey
ed97672a8c Use faster clamping for Uint8ClampedArray (#422) 2019-02-22 15:26:30 +01:00
dcode
34d86a0d6a Replace more workarounds with actual lazy compilation in stdlib 2019-02-21 05:42:33 +01:00
Max Graey
6b495f71d0 Ensure Math.clz32/imul compatibility with JS (#474) 2019-02-21 00:32:58 +01:00
Max Graey
0041572052 Reuse respective opposite overload in std/string comparisions (#479) 2019-02-21 00:30:05 +01:00
Max Graey
2c365ada5b Improve operator overload typings (#480) 2019-02-21 00:23:46 +01:00
Daniel Wirtz
0c64f21250
Rework resolver (#489)
* Rework IR and resolver to use nested lookup tables
* Integrate types into IR
* Make components prefer IR, slimmed down AST
* Implement `export *`
* Add `@lazy` annotation and remove `--noTreeShaking`
* Add `@start` annotation and remove magic `main`
* Related refactoring, cleanup and docs
2019-02-21 00:11:22 +01:00
Daniel Wirtz
2f1a6c44ce
Add SIMD prerequisites (#469) 2019-02-07 15:26:26 +01:00
Max Graey
41a89fa773 Fix default comparator for strings (#462) 2019-02-07 12:26:45 +01:00