Searched refs:arrayConstructor (Results 1 - 2 of 2) sorted by relevance
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/ |
H A D | JSGlobalObject.cpp | 270 JSCell* arrayConstructor = ArrayConstructor::create(exec, this, ArrayConstructor::createStructure(exec->vm(), this, m_functionPrototype.get()), m_arrayPrototype.get()); local 291 m_arrayPrototype->putDirectWithoutTransition(exec->vm(), exec->propertyNames().constructor, arrayConstructor, DontEnum); 301 putDirectWithoutTransition(exec->vm(), exec->propertyNames().Array, arrayConstructor, DontEnum); 331 m_specialPointers[Special::ArrayConstructor] = arrayConstructor;
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/tests/ |
H A D | testapi.c | 914 JSObjectRef arrayConstructor = JSValueToObject(context, JSObjectGetProperty(context, globalObject, array, NULL), NULL); local 917 UNUSED_PARAM(arrayConstructor); 918 ASSERT(arrayConstructor); 1530 JSObjectRef arrayConstructor = JSValueToObject(context, JSObjectGetProperty(context, globalObject, array, NULL), NULL); local 1532 result = JSObjectCallAsConstructor(context, arrayConstructor, 0, NULL, NULL); 1535 ASSERT(JSValueIsInstanceOfConstructor(context, result, arrayConstructor, NULL)); 1536 ASSERT(!JSValueIsInstanceOfConstructor(context, JSValueMakeNull(context), arrayConstructor, NULL)); 1571 ASSERT(JSValueIsEqual(context, v, arrayConstructor, NULL));
|
Completed in 230 milliseconds