mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Update name and length property order
also fixed few test262 test-case Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
This commit is contained in:
parent
42e598f57c
commit
160cb37300
9 changed files with 35 additions and 35 deletions
|
|
@ -55,8 +55,8 @@ NativeFunctionObject::NativeFunctionObject(ExecutionState& state, const NativeFu
|
|||
m_codeBlock = new NativeCodeBlock(state.context(), info);
|
||||
// The Proxy constructor does not have a prototype property
|
||||
m_structure = state.context()->defaultStructureForNotConstructorFunctionObject();
|
||||
m_values[ESCARGOT_OBJECT_BUILTIN_PROPERTY_NUMBER + 0] = (Value(m_codeBlock->functionName().string()));
|
||||
m_values[ESCARGOT_OBJECT_BUILTIN_PROPERTY_NUMBER + 1] = (Value(m_codeBlock->functionLength()));
|
||||
m_values[ESCARGOT_OBJECT_BUILTIN_PROPERTY_NUMBER + 0] = (Value(m_codeBlock->functionLength()));
|
||||
m_values[ESCARGOT_OBJECT_BUILTIN_PROPERTY_NUMBER + 1] = (Value(m_codeBlock->functionName().string()));
|
||||
|
||||
ASSERT(NativeFunctionObject::isConstructor());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue