343 Commits

Author SHA1 Message Date
dcode
8ec51423ca Merge branch 'master' into runtime 2019-04-08 18:37:38 +02:00
Daniel Wirtz
5b58b9aa8d
Update Binaryen to latest (#571) 2019-04-08 08:18:21 +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
ed32a4c8ba notes on gc.collect that I don't yet know how to work around 2019-04-04 12:53:42 +02:00
dcode
25c5dfddad slim down runtime 2019-04-04 02:25:22 +02:00
dcode
85f3fc54a7 runtime api 2019-04-03 21:47:38 +02:00
dcode
50c49e4275 make it 'runtime.instanceof' 2019-04-03 00:26:41 +02:00
dcode
b58683aff4 wire __runtime_instanceof to 'instanceof' on upcasts
also adds runtime.instanceOf that can be exported for use by the host
2019-04-02 23:58:58 +02:00
dcode
b62927f5e5 move runtime templates into stdlib for bundling with lib files 2019-04-02 22:32:43 +02:00
dcode
a639a42f0d initial __runtime_instanceof 2019-04-02 21:30:47 +02:00
dcode
e1bd0050e2 directize more (eliminate table use) 2019-04-02 16:18:44 +02:00
dcode
6bf8276746 Merge branch 'master' into runtime 2019-04-02 10:58:14 +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
27f1905510 runtime integration and flag 2019-03-31 21:58:42 +02:00
Max Graey
abf3de9076 Fix implicit string to bool conversion (#567) 2019-03-31 20:00:54 +02:00
Daniel Wirtz
85de20c4fc
Add WASI bindings (#562) 2019-03-31 19:59:39 +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
0dcfcc7935 external gc interface 2019-03-28 11:07:47 +01:00
dcode
41abc0166c readme [ci skip] 2019-03-27 17:41:06 +01:00
dcode
e36722f2e6 unify mem/ref interface 2019-03-27 17:21:52 +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
c2ac1a0375 what if.. 2019-03-21 22:46:10 +01:00
dcode
e57fa14ff9 give it a shot 2019-03-21 18:30:36 +01:00
dcode
d9463c5484 dummy gc 2019-03-21 17:34:51 +01:00
dcode
d4d5814fc2 rt docs, initial itcm wiring 2019-03-21 12:29:49 +01:00
dcode
3fc9f550ad more general gc hooks? 2019-03-21 10:44:14 +01:00
dcode
658a380786 whoops 2019-03-20 22:43:12 +01:00
dcode
88a595f4cb some thoughts on pure gc 2019-03-20 22:40:07 +01:00
dcode
f44dbf2646 quick pure gc prototype 2019-03-20 18:36:58 +01:00
dcode
952ac8627d stdlib unlink wiring 2019-03-20 17:12:33 +01:00
dcode
5fb3077064 rt unlink 2019-03-20 06:30:12 +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
dcode
7693b543f4 optimize array literal init, warn on unsupported inlining 2019-03-19 08:20:10 +01:00
dcode
0932cf17ed use overloads for checked access 2019-03-18 16:09:49 +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