Sami Vaarala
a37f963a1d
Add ES6 computed property name support
8 years ago
Sami Vaarala
ae8b142669
Remove duk_to_defaultvalue()
Fold the implementation to duk_to_primitive() as it's also specified in
ES6 (as opposed to ES5.1).
8 years ago
Sami Vaarala
1064daa3ef
Further refcount norz macro tweaks
9 years ago
Sami Vaarala
44f80fea8d
Misc compiler warning fixes
8 years ago
Sami Vaarala
6a6376519a
Shared character class matcher code
8 years ago
Sami Vaarala
e381591808
Regexp compiler shared range match emitter
8 years ago
Sami Vaarala
4ca79a71b8
Minor regexp executor optimization
Shared check for end-of-input, eliminate a few unnecessary comparisons.
8 years ago
Sami Vaarala
90f77d7152
Fix regexp zeroed buffer data assumption
8 years ago
Sami Vaarala
983ce88e80
Fix duk_tval decref precheck for ROM objects
8 years ago
Sami Vaarala
bce3cc3651
Minor improvement to regexp compile/execute perf
8 years ago
Sami Vaarala
03420e54c4
Add some NORZ (no-refzero free) refcount macros
9 years ago
Sami Vaarala
21b4ced0f7
Use xoroshiro128+ (SplitMix64 seed mix) by default
Previous algorithm for low memory targets, and targets which dont have
64-bit operations.
8 years ago
Sami Vaarala
7c5bf388ea
Fix a cast warning
8 years ago
Sami Vaarala
dfc26f4ac4
Add support for user provided random provider
Remove tinyrandom "get bits" variant altogether to simplify the needs:
there's just one primitive, to return an IEEE double in the range [0,1[.
9 years ago
Sami Vaarala
0bead8a285
Add prototype dense array fast paths for push/pop
Add minimal fast paths for Array.prototype operations like push() and pop(),
triggered when the 'this' binding is an Array which has its array part still
present. This is the most common case and user code will expect for example
Array.prototype.push() to be relatively fast.
The main purpose of this commit is to figure out the necessary internal
helpers for fast paths. More fast paths will be added separately.
9 years ago
Sami Vaarala
548ec67e51
Trivia fixes for suspend/resume implementation
8 years ago
Sami Vaarala
bcf97ea448
Fix duk_put_prop() target/value same slot bug
8 years ago
Sami Vaarala
3ffee06a11
Make finalizer support optional for lowmem targets
8 years ago
Sami Vaarala
96d301b3cb
Rename src/ to src-input/ to match dist
With this change the directory naming in the main repo and dist is the same.
8 years ago