* Array.prototype.fill method updated
* fill, find, findIndex methods of TypedArray updated
* TypedArray.prototype.every method is optimized to get a indexed property value more efficiently
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This patch adds RegExp.compile() function.
Since the given argument can be a RegExp object as well, which already has their option flags parsed there was a need to add a new init function which doesn't parse flags and accepts an `unsigned int` as its parameter.
Signed-off-by: Daniel Balla <dballa@inf.u-szeged.hu>
Introduced a new template VectorCopier class that has specializations
for the `memcpy` and the `copy constructor` cases.
Signed-off-by: Roland Takacs <rtakacs.uszeged@partner.samsung.com>
* enable proxy and reflect features in default
* add internal TC
* vendortest is updated to avoid stack overflow error in v8 TC
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
When installing clang-format with sudo , its not installing automatically Clang-format-3.8,
but Clang-format-3.9 is installed instead.
Also the code formatting in src/runtime/GlobalObjectBuiltinRegExp.cpp update to Clang-format-3.9.
Signed-off-by: Bence Gabor Kis <kisbg@inf.u-szeged.hu>
A JS engine must not accept an invalid JS code so tolerant
parsing is removed from the parser and configuration.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Start hiding private helper functions from outside world. Next step
will be hiding private data members.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
* merge each -DVENDORTEST build test onto one release build test
* exclude jetstream-only-simple and octane test from darwin due to excessively long running time
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
Introduce EmptyCodePoint constant to represent the empty case.
Also hex conversion is simplified.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Instead of maintaining a structure in memory simply re-scan the
right brace when a template is parsed.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
The assertions were wrong, if the given `iterable` was not an `Object` or not an `ArrayObject` the promise should have been just rejected.
Fixes#25Fixes#30
Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
* updated proxy methods
GetPrototypeOf
SetPrototypeOf
IsExtensible
PreventExtensions
GetOwnProperty
DefineOwnProperty
HasProperty
Get
Set
Delete
ProxyCreate
* TODO
Enumerate and OwnPropertyKeys
Call and Construct
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
Now regression tests for resolved issues can be added to the project.
Regression tests are enabled by default.
They can be manually run by appending `regression-tests` to the `run-tests.py` command.
There is an `expected-failures` directory for tests that should fail.
The .gitignore file was modified as well to making sure it doesn't ignore these testfiles.
Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
Currently the parser is a very large file and hard to maintain. This patch is
the first which splits it into smaller files.
During the move some style fixes are applied. The identifer start
detection is improved as well.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Pass an undefined value as Property Descriptor's `value` property if the previous descriptor's value was not present.
Co-authored-by: Robert Fancsik <frobert@inf.u-szeged.hu>
Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu