Home | History | Annotate | Download | only in runtime

Lines Matching defs:JSObject

57     JSObject* throwTypeError(ExecState*, const UString&);
75 class JSObject : public JSCell {
79 friend void setUpStaticFunctionSlot(ExecState* exec, const HashEntry* entry, JSObject* thisObj, const Identifier& propertyName, PropertySlot& slot);
87 virtual ~JSObject();
140 virtual JSObject* toObject(ExecState*, JSGlobalObject*) const;
142 virtual JSObject* toThisObject(ExecState*) const;
144 virtual JSObject* unwrappedObject();
200 virtual void defineGetter(ExecState*, const Identifier& propertyName, JSObject* getterFunction, unsigned attributes = 0);
201 virtual void defineSetter(ExecState*, const Identifier& propertyName, JSObject* setterFunction, unsigned attributes = 0);
266 JSObject(JSGlobalData&, Structure*, PropertyStorage inlineStorage);
267 JSObject(VPtrStealingHackType, PropertyStorage inlineStorage)
274 // Nobody should ever ask any of these questions on something already known to be a JSObject.
320 // JSNonFinalObject is a type of JSObject that has some internal storage,
323 class JSNonFinalObject : public JSObject {
324 friend class JSObject;
334 : JSObject(VPtrStealingHack, m_inlineStorage)
339 : JSObject(globalData, structure, m_inlineStorage)
349 // JSFinalObject is a type of JSObject that contains sufficent internal
351 class JSFinalObject : public JSObject {
352 friend class JSObject;
367 : JSObject(globalData, structure, m_inlineStorage)
373 static const unsigned StructureFlags = JSObject::StructureFlags | IsJSFinalObject;
378 inline size_t JSObject::offsetOfInlineStorage()
384 inline JSObject* constructEmptyObject(ExecState* exec, Structure* structure)
394 inline JSObject* asObject(JSCell* cell)
397 return static_cast<JSObject*>(cell);
400 inline JSObject* asObject(JSValue value)
405 inline JSObject::JSObject(JSGlobalData& globalData, Structure* structure, PropertyStorage inlineStorage)
417 inline JSObject::~JSObject()
423 inline JSValue JSObject::prototype() const
428 inline bool JSObject::setPrototypeWithCycleCheck(JSGlobalData& globalData, JSValue prototype)
432 JSObject* nextPrototype = asObject(nextPrototypeValue)->unwrappedObject();
441 inline void JSObject::setPrototype(JSGlobalData& globalData, JSValue prototype)
447 inline void JSObject::setStructure(JSGlobalData& globalData, Structure* structure)
452 inline Structure* JSObject::inheritorID(JSGlobalData& globalData)
463 return propertyStorageCapacity() < JSObject::baseExternalStorageCapacity;
481 ALWAYS_INLINE bool JSObject::inlineGetOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
503 ALWAYS_INLINE bool JSObject::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
517 ALWAYS_INLINE bool JSObject::getPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
519 JSObject* object = this;
530 ALWAYS_INLINE bool JSObject::getPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot)
532 JSObject* object = this;
543 inline JSValue JSObject::get(ExecState* exec, const Identifier& propertyName) const
546 if (const_cast<JSObject*>(this)->getPropertySlot(exec, propertyName, slot))
552 inline JSValue JSObject::get(ExecState* exec, unsigned propertyName) const
555 if (const_cast<JSObject*>(this)->getPropertySlot(exec, propertyName, slot))
561 inline bool JSObject::putDirectInternal(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot, JSCell* specificFunction)
672 inline bool JSObject::putDirectInternal(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot)
680 inline void JSObject::putDirectInternal(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes)
686 inline bool JSObject::putDirect(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot)
694 inline void JSObject::putDirect(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes)
700 inline bool JSObject::putDirect(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
705 inline void JSObject::putDirectFunction(JSGlobalData& globalData, const Identifier& propertyName, JSCell* value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot)
710 inline void JSObject::putDirectFunction(JSGlobalData& globalData, const Identifier& propertyName, JSCell* value, unsigned attr)
716 inline void JSObject::putDirectWithoutTransition(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes)
725 inline void JSObject::putDirectFunctionWithoutTransition(JSGlobalData& globalData, const Identifier& propertyName, JSCell* value, unsigned attributes)
734 inline void JSObject::transitionTo(JSGlobalData& globalData, Structure* newStructure)
741 inline JSValue JSObject::toPrimitive(ExecState* exec, PreferredPrimitiveType preferredType) const
755 JSObject* prototype = synthesizePrototype(exec);
782 JSObject* prototype = synthesizePrototype(exec);
823 ALWAYS_INLINE void JSObject::markChildrenDirect(MarkStack& markStack)
853 ALWAYS_INLINE JSObject* Register::function() const
860 ALWAYS_INLINE Register Register::withCallee(JSObject* callee)