209 Commits

Author SHA1 Message Date
dcode
3224925e47 eliminate retainRelease and skippedRelease 2019-05-25 19:16:09 +02:00
dcode
a6896d7bc2 more loader updates 2019-05-24 20:31:52 +02:00
dcode
51fdf9db4f fix 2019-05-23 03:08:25 +02:00
dcode
d94b4fca50 layout rtti with fixed ids for buffers and strings 2019-05-22 00:14:44 +02:00
dcode
c92643832c move stuff, run both untouched and optimized 2019-05-21 15:02:39 +02:00
dcode
3e480d9423 progress 2019-05-20 23:10:06 +02:00
dcode
f73d807d5a rt hooks all over the place
still some work to do on optimizing away retain/release calls, but this looks promising
2019-05-15 21:17:41 +02:00
dcode
ba1a0c2369 Initial new rt integration 2019-05-12 13:50:28 +02:00
dcode
c16c19e18d unify runtime header 2019-04-08 23:22:13 +02:00
dcode
6f25642601 add a note on acyclic detection 2019-04-08 04:18:13 +02:00
dcode
c3ff3f2376 inherent acylic data structure detection
this will become useful for the pure collector eventually
2019-04-08 03:49:41 +02:00
dcode
e1070cee86 rtti & refactoring 2019-04-06 20:17:48 +02:00
dcode
a9e4813798 implement __runtime_flags 2019-04-05 01:59:01 +02:00
dcode
85f3fc54a7 runtime api 2019-04-03 21:47:38 +02:00
dcode
e1bd0050e2 directize more (eliminate table use) 2019-04-02 16:18:44 +02:00
dcode
3bcd32f3ba directize 2019-04-02 10:12:57 +02:00
dcode
1ada854830 some cleanup 2019-04-01 22:23:11 +02:00
dcode
3e3c393856 finalize GC wiring 2019-03-30 13:58:20 +01:00
dcode
6a790321aa make ref_unlink optional and itcm pass a simple test again
note: there's no marking yet
2019-03-29 18:56:32 +01:00
dcode
e36722f2e6 unify mem/ref interface 2019-03-27 17:21:52 +01:00
dcode
a3095478a3 Merge branch 'master' into runtime 2019-03-27 16:10:59 +01:00
dcode
f7ad5f85ca fixes 2019-03-27 15:05:45 +01:00
dcode
bb1609c9ea baseline 2019-03-27 14:43:35 +01:00
dcode
3146f8f9e0 use gc interface directly, document 2019-03-26 23:35:08 +01:00
dcode
7c0dc66849 guard, info on never null, more general array rt 2019-03-22 15:43:07 +01:00
dcode
3fc9f550ad more general gc hooks? 2019-03-21 10:44:14 +01:00
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
Daniel Wirtz
fd99589527
Fix enum initialization (#545) 2019-03-18 04:54:44 +01:00
dcode
edb2299f13 fixes 2019-03-17 12:25:54 +01:00
dcode
2d76da9465 alias locals when inlining a tail call 2019-03-17 00:11:16 +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
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
707f2dae9a more 2019-03-13 03:47:35 +01:00
dcode
d9a5681489 arraybufferview 2019-03-11 07:45:47 +01:00
dcode
cb77760562 unsafe, stub 2019-03-10 21:38:15 +01:00
dcode
0ad9d560e0 integrate 2019-03-09 00:40:03 +01:00
Daniel Wirtz
e1f1a3b49c
Implement v128 instructions (#508) 2019-02-28 17:36:22 +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
65c799c925 Speedup some compiler routines (#441) 2019-02-22 14:03:33 +01:00
dcode
cc5522d6cc Legalize external decorator for generic functions 2019-02-22 08:25:41 +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
Daniel Wirtz
f551bc78e1
Implement bulk memory operations (#467) 2019-02-07 11:40:23 +01:00
Daniel Wirtz
831054dfd3
Rework inlining logic (#463) 2019-02-06 23:42:43 +01:00
Max Graey
4829f3a3e4 Add ArrayBuffer.isView and rework Array.isArray (#431) 2019-02-03 10:41:04 +01:00