449 Commits

Author SHA1 Message Date
dcode
72e519885d Fix invalid flow switch when inlining optional arguments into a call, see #632 2019-06-05 19:29:44 +02:00
dcode
eaea26b7ae Remove the start decorator in favor of a command line option 2019-06-05 18:52:04 +02:00
dcode
93c9a4afd9 Fix truncated declaration ranges 2019-06-05 02:36:58 +02:00
dcode
bf597a06c6 Fix lifetime issues in field inits/ctors and refactor inlining 2019-06-05 00:18:26 +02:00
dcode
fa667386d9 Initial support for default imports/exports, see #98
Does not implement combinations like 'import theDefault, *' yet
2019-06-04 08:57:33 +02:00
dcode
27e54ed07b Fix missing autorelease in trampolines 2019-06-04 06:18:51 +02:00
dcode
e80ca1034f Fix lifetime issue with assert messages, see #623 2019-06-04 03:06:11 +02:00
dcode
1468923025 fix rc in Array#fill, add rtti logging for debugging 2019-06-01 15:57:53 +02:00
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
dece239d78 Generate a d.ts using modified dts-generator, see #434 2019-05-27 04:07:43 +02:00
Max Graey
476f7d904c Minor compiler improvements (#602) 2019-05-25 20:50:44 +02:00
dcode
d3654e38f0 skip traversal if there are no temps 2019-05-25 20:41:15 +02:00
dcode
7feb0b7077 consistent naming, don't miss local.set/tee value 2019-05-25 19:25:41 +02:00
dcode
f9e1f65133 fix 'no-unbound-method' 2019-05-25 19:22:19 +02:00
dcode
3224925e47 eliminate retainRelease and skippedRelease 2019-05-25 19:16:09 +02:00
dcode
33a892de44 forward some of #559 2019-05-25 15:01:55 +02:00
dcode
968192f99b array is an abv, views 2019-05-25 14:40:13 +02:00
dcode
c34ed66fd9 support normal arrays 2019-05-25 01:14:26 +02:00
dcode
9620f18249 more loader work 2019-05-25 00:38:50 +02:00
dcode
a6896d7bc2 more loader updates 2019-05-24 20:31:52 +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
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
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
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
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