88 Commits

Author SHA1 Message Date
dcode
1468923025 fix rc in Array#fill, add rtti logging for debugging 2019-06-01 15:57:53 +02:00
dcode
066ea1fbd2 consistent naming 2019-06-01 05:12:30 +02:00
dcode
3224925e47 eliminate retainRelease and skippedRelease 2019-05-25 19:16:09 +02:00
dcode
51fdf9db4f fix 2019-05-23 03:08:25 +02:00
dcode
3e480d9423 progress 2019-05-20 23:10:06 +02:00
dcode
ba1a0c2369 Initial new rt integration 2019-05-12 13:50:28 +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
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
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
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
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
81039c4167 FixedArray experimentation 2019-03-19 15:43:05 +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
0c388ca4c6 make std/string test ok again 2019-03-16 14:48:22 +01:00
dcode
968b0321a0 decisions 2019-03-15 09:26:31 +01:00
dcode
3a60638f72 simplify 2019-03-14 12:46:36 +01:00
dcode
84ddd97761 if that's what's necessary 2019-03-14 06:09:49 +01:00
dcode
a5e14a0eaa srsly 2019-03-14 05:11:03 +01:00
dcode
6163a73ab5 take a step back 2019-03-14 04:33:58 +01:00
dcode
e38f627c8b more 2019-03-13 22:35:47 +01:00
dcode
6f70826e45 hmm 2019-03-13 09:05:02 +01:00
dcode
707f2dae9a more 2019-03-13 03:47:35 +01:00
dcode
e78c4c7f54 more 2019-03-13 03:09:24 +01:00
dcode
36d54d63d5 slowly but steadily 2019-03-12 04:35:01 +01:00
dcode
146dfdbb4a it's all broken 2019-03-11 23:34:20 +01:00
Max Graey
cdf40578b6 Refactor slices for better compliance (#430) 2019-02-27 21:51:07 +01:00
Max Graey
54b02c287c Fix functional Array & String methods and avoid buffer caching (#415) 2019-01-17 01:34:09 +01:00
LiaoPeng
9ec226de1b Fix possible use after free in Array#forEach if the array resizes halfway (#408) 2019-01-09 13:06:34 +01:00
dcodeIO
3ed83ef3ae Use macro style for more internal helpers; Update dist files 2018-12-08 23:38:49 +01:00
Max Graey
934f05eed9 Optimize array functional loops (#359) 2018-12-07 15:37:33 +01:00
Daniel Wirtz
ebae7cbd73
Implement optional type parameters (#360)
* Add a NATIVE<T> macro type to simplify use of a native WebAssembly type
* Add default type parameters for internal helpers for explicit loads and stores
* Unify loadUnsafe/loadUnsafeWithOffset etc. into one
* Renamed loadUnsafe etc. into just LOAD, like a macro
* Implement parsing of index signatures, but ignore them, for properly linting code
* Refactor TypedArray<T> to use macros
2018-12-07 14:33:32 +01:00
Max Graey
3c5c2cef80 Fix implementation of Array#splice (#347) 2018-11-29 15:41:42 +01:00
dcodeIO
04a0cb8de7 Remove left-over line in std Array 2018-11-12 12:45:44 +01:00
Max Graey
1882679807 Implement Array.isArray and Array#copyWithin (#331) 2018-11-12 07:45:40 +01:00
LiaoPeng
d864977a1a Add Array#concat and add a return type for Array#push (#214) 2018-10-30 15:07:53 +01:00