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
|
|
@ -42,9 +42,9 @@ static Value builtinStringToString(ExecutionState& state, Value thisValue, size_
|
|||
|
||||
void GlobalObject::installString(ExecutionState& state)
|
||||
{
|
||||
m_string = new FunctionObject(state, new CodeBlock(state.context(), NativeFunctionInfo(state.context()->staticStrings().String, builtinStringConstructor, 1, [](ExecutionState& state, size_t argc, Value* argv) -> Object* {
|
||||
return new StringObject(state);
|
||||
})));
|
||||
m_string = new FunctionObject(state, NativeFunctionInfo(state.context()->staticStrings().String, builtinStringConstructor, 1, [](ExecutionState& state, size_t argc, Value* argv) -> Object* {
|
||||
return new StringObject(state);
|
||||
}));
|
||||
m_string->markThisObjectDontNeedStructureTransitionTable(state);
|
||||
m_string->setPrototype(state, m_functionPrototype);
|
||||
// TODO m_string->defineAccessorProperty(strings->prototype.string(), ESVMInstance::currentInstance()->functionPrototypeAccessorData(), false, false, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue