implement basic of JSGetterSetter

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
seonghyun kim 2016-12-21 12:39:18 +09:00
commit 24ff648fe7
14 changed files with 364 additions and 153 deletions

View file

@ -14,7 +14,7 @@ ArrayObject::ArrayObject(ExecutionState& state)
Value ArrayObject::getLengthSlowCase(ExecutionState& state)
{
return getOwnProperty(state, ObjectPropertyName(state.context()->staticStrings().length)).value();
return getOwnProperty(state, ObjectPropertyName(state.context()->staticStrings().length)).value(state);
}
bool ArrayObject::setLengthSlowCase(ExecutionState& state, const Value& value)