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