503 Commits

Author SHA1 Message Date
dcode
586ca8b580 backport tlsf fixes, add asrt allocator test 2019-04-15 12:41:29 +02:00
dcode
c13f4db641 asrt: merge tlsf and purerc 2019-04-15 11:32:20 +02:00
dcode
085e2db4c9 asrt: derive constants 2019-04-11 09:36:34 +02:00
dcode
6b256bef47 asrt experiment 2019-04-11 09:07:00 +02:00
dcode
8b5c629cde reduce tlsf footprint 2019-04-11 02:29:25 +02:00
dcode
bb659bbdcd Runtime 'none' by default 2019-04-09 08:28:14 +02:00
dcode
eb6c4c09ee possible-null assignment to non-null, notes 2019-04-09 06:57:28 +02:00
dcode
cd79376101 null checking throughout logical and/or 2019-04-09 04:25:38 +02:00
dcode
da4a7751fd optimize logical and/or, initial null checking in flows 2019-04-09 03:04:45 +02:00
dcode
c16c19e18d unify runtime header 2019-04-08 23:22: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
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
cc1e4cd004 expose runtime id of exported class 2019-04-03 14:53:47 +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
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
7b99e44343 update allocator tests 2019-03-31 22:05:52 +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
c4a57025d2 add binaryen fiddles for indirect to direct call optimization 2019-03-31 15:42:25 +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
6911f9d4fc clear cache, revert 2019-03-29 12:04:14 +01:00
dcode
72c1dbf502 maybe.. 2019-03-29 11:49:58 +01:00
dcode
97d1f6e1b7 atomics option? 2019-03-29 11:40:58 +01:00
dcode
01fad52984 fix allocator tests 2019-03-29 11:23:40 +01:00
dcode
0dcfcc7935 external gc interface 2019-03-28 11:07:47 +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
b2adf8b1e2 Update dependencies and rebuild dist files 2019-03-27 15:50:05 +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
Daniel Wirtz
527d73ece8
Use fully qualified names in generic types (#544)
* Also fixes infinite parser loops
* Also implements command line option forwarding to node.js
2019-03-25 21:58:19 +01:00
Max Graey
74ce9bf386 Fix unreachable insertion when returning none (#557) 2019-03-24 10:18:05 +01:00
dcode
7c0dc66849 guard, info on never null, more general array rt 2019-03-22 15:43:07 +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
3fc9f550ad more general gc hooks? 2019-03-21 10:44:14 +01:00
dcode
952ac8627d stdlib unlink wiring 2019-03-20 17:12:33 +01:00
dcode
9b664dc175 harden / elaborate on makeCallInline 2019-03-20 14:16:18 +01:00
dcode
81039c4167 FixedArray experimentation 2019-03-19 15:43:05 +01:00