Changeset 58995 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- May 7, 2010, 9:17:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSCell.h
r58990 r58995 112 112 void setVPtr(void* vptr) { *reinterpret_cast<void**>(this) = vptr; } 113 113 114 // FIXME: Rename getOwnPropertySlot to virtualGetOwnPropertySlot, and115 // fastGetOwnPropertySlot to getOwnPropertySlot. Callers should always116 // call this function, not its slower virtual counterpart. (For integer117 // property names, we want a similar interface with appropriate optimizations.)118 bool fastGetOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&);119 120 114 protected: 121 115 static const unsigned AnonymousSlotCount = 0; … … 123 117 private: 124 118 // Base implementation; for non-object classes implements getPropertySlot. 119 bool fastGetOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&); 125 120 virtual bool getOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&); 126 121 virtual bool getOwnPropertySlot(ExecState*, unsigned propertyName, PropertySlot&);
Note:
See TracChangeset
for help on using the changeset viewer.