310 Commits

Author SHA1 Message Date
dcode
e65d875ebc llvm-like naming of __heap_base, definition fixes, update examples 2019-06-01 01:14:04 +02:00
dcode
b19005f5bb Use new RC utility for inlining so we can eventually inline everything 2019-05-29 03:41:03 +02:00
dcode
bc0dd3a6fb Tackle AS206 2019-05-27 18:44:15 +02:00
dcode
7feb0b7077 consistent naming, don't miss local.set/tee value 2019-05-25 19:25:41 +02:00
dcode
3224925e47 eliminate retainRelease and skippedRelease 2019-05-25 19:16:09 +02:00
dcode
c41c57e6d6 refactor 2019-05-24 12:16:14 +02:00
dcode
792b366769 update dist files 2019-05-23 19:40:32 +02:00
dcode
fbba76ef2c bleeding edge binaryen 2019-05-23 13:20:10 +02:00
dcode
81c212b208 monkey-patch loader 2019-05-23 04:15:05 +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
1cbf3fc885 fix rogue releases 2019-05-21 00:38:48 +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
2dec52976a fix export star module exports, shiftify 2019-04-18 20:36:51 +02:00
dcode
8216cf3361 refactor into stdlib 2019-04-18 11:51:07 +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
57c8bd01ca handle references externally assigned to fields 2019-04-07 00:55:50 +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
cc1e4cd004 expose runtime id of exported class 2019-04-03 14:53:47 +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
d85a43892f remove old traversal code 2019-04-02 16:46:28 +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
27f1905510 runtime integration and flag 2019-03-31 21:58:42 +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
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
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
9b664dc175 harden / elaborate on makeCallInline 2019-03-20 14:16:18 +01:00
dcode
89b9d46fa3 link on property assign 2019-03-19 19:52:47 +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
c147e98a55 capabilities to detect half/full runtime header 2019-03-18 13:45:10 +01:00