dcode
a49ab7a706
improve rtrace and move it to lib
2019-05-23 16:41:26 +02:00
dcode
fbba76ef2c
bleeding edge binaryen
2019-05-23 13:20:10 +02:00
dcode
51fdf9db4f
fix
2019-05-23 03:08:25 +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
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
50c49e4275
make it 'runtime.instanceof'
2019-04-03 00:26:41 +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
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
dcode
3e3c393856
finalize GC wiring
2019-03-30 13:58:20 +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
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
9b664dc175
harden / elaborate on makeCallInline
2019-03-20 14:16:18 +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
f21b339563
checked builtin array get, optimize abv layout
2019-03-17 08:46:26 +01:00
dcode
2d76da9465
alias locals when inlining a tail call
2019-03-17 00:11:16 +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
Daniel Wirtz
4e1bba3a24
Use Binaryen's function signature naming scheme ( #522 )
2019-03-01 00:01:23 +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
831054dfd3
Rework inlining logic ( #463 )
2019-02-06 23:42:43 +01:00
dcode
cd1cfe6957
Update Binaryen to latest and rebuild dist files
2019-02-05 17:12:10 +01:00
Max Graey
4829f3a3e4
Add ArrayBuffer.isView and rework Array.isArray ( #431 )
2019-02-03 10:41:04 +01:00
Daniel Wirtz
2131c51932
Rework constructor handling ( #446 )
2019-02-02 16:03:21 +01:00
dcodeIO
3ed83ef3ae
Use macro style for more internal helpers; Update dist files
2018-12-08 23:38:49 +01:00
Daniel Wirtz
c30c62e383
Cast to bool by comparing to zero ( #343 )
2018-11-23 15:20:52 +01:00
Daniel Wirtz
2bdc2a72f1
Use stack IR when emitting text format ( #312 )
2018-11-08 08:04:24 +01:00
dcodeIO
6f8a0fe03a
Rework compileUnaryPostfixExpression
...
Previously this tried to reuse too much code, making it hard to implement operator overloading
2018-10-29 20:06:21 +01:00
Daniel Wirtz
f7c734789e
Update Binaryen to latest; Various fixes
2018-10-11 08:49:08 +02:00
dcodeIO
db0e82fbc3
Add a .data pointer on ArrayBuffers for convenience, see #291
2018-10-03 01:06:48 +02:00
dcodeIO
16d1a833dd
Always add a null function at table index zero
...
This allows function references (a table index internally) to be nullable
2018-09-17 01:48:35 +02:00
dcodeIO
631478c7c9
Rework static memory segment creation; Fix stdlib gc hooks not marking own fields; Align everything to 8 bytes that might be touched by GC
2018-08-04 00:36:59 +02:00
Daniel Wirtz
dc0f271fc2
Initial GC integration ( #196 )
2018-08-02 18:23:02 +02:00
dcodeIO
26e46f6f86
Reintroduce builtin decorator so these can appear anywhere in stdlib again
...
Avoids wrapping an undocumented function within 'memory.size' for example.
2018-07-19 02:10:04 +02:00
dcodeIO
a1b75b69b7
Rename memory instructions; Rework constant handling
2018-07-18 23:49:32 +02:00
dcodeIO
7a8995b18b
Properly inline getters; Simplify blocks when last statement returns
2018-06-22 15:26:59 +02:00