* Update test262 driver for python3 and windows
* Update DateFormat for windows
* Fix compiler warnings on Win64
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
* add shrink function to resize finalizer list
* shrink the list when about an half of the list is empty
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* replace erase operation of vector with non-memory operations
* erase operation requires additional memory allocations which may incur other GC in sequence
* fix GCutil to make gc finalizer not to be invoked in nested calls
* replace defineOwnProperty with directDefineOwnProperty method
* directly insert new properties for builtin objects
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* prototype object of Temporal should be ordinary object
* fix the type of prototype as to PrototypeObject
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* check index property set in DerivedObject::defineOwnProperty method only
* index property check is removed for normal Object because PrototypeObject would check it instead
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* set dummy element address to denote non-fast mode array
* represent non-fast mode array without creating ObjectRareData
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* rename tagging operations to clearly recognize typeTag and tag (vtable address)
* add global tag values for ScriptSimpleFunctionObject
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
PrototypeObject always returns true in Object::isEverSetAsPrototypeObject.
thus it don't need another space for mark it was used for prototype object.
this object can reduce a lots allocation of ObjectRaraData
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
* remove useless GC_MALLOC_EXPLICITLY_TYPED
typed-malloc information is allocated with each malloc operation
* Implement fast path for ObjectPropertyName
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
* update to common PropertyHandler data and strucuture to represent IndexedProperty and NamedProperty both
* check property name in each ObjectWithPropertyHandler method
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* usually property name is delivered as Value format
* replace `TemplatePropertyName` with `ObjectStructurePropertyName` to handle Value format nicely
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* when trying to use index property, we use only 32bit for index value (uint32_t)
* rename ArrayIndex as to Index32 and IndexProperty
* add cctest to verify the new api
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* Each chain piece represents one of class
* User can uses private member with same name parent with child class
* We should check nearest [[homeObject]] of function to find where function is located
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
* update ObjectGetResult::convertToPropertyDescriptor
* directly convert ObjectGetResult to ObjectPropertyDescriptor instead of creating a new Object for descriptor
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* Init YarrPattern::m_body variable
* Remove Objects finalizer in finalizer of WeakMap,Set
* Use correct finalizer for Intl Objects
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>