mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
1. split Vector into TightVector and Vector
2. implement basic of DateObject 3. implement continue statement this patch passes 3d-raytrace.js Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
c34e6da780
commit
8acbfcfe52
21 changed files with 190 additions and 105 deletions
|
|
@ -58,6 +58,10 @@ bool Object::setPrototypeSlowCase(ExecutionState& state, const Value& value)
|
|||
// http://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
|
||||
Object::ObjectGetResult Object::getOwnProperty(ExecutionState& state, const ObjectPropertyName& propertyName) ESCARGOT_OBJECT_SUBCLASS_MUST_REDEFINE
|
||||
{
|
||||
if (propertyName.isUIntType() && !m_structure->hasIndexPropertyName()) {
|
||||
return Object::ObjectGetResult();
|
||||
}
|
||||
|
||||
PropertyName P = propertyName.toPropertyName(state);
|
||||
size_t idx = m_structure->findProperty(state, P);
|
||||
if (LIKELY(idx != SIZE_MAX)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue