Changeset 36764 in webkit for trunk/JavaScriptCore/kjs/JSValue.h
- Timestamp:
- Sep 22, 2008, 6:59:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSValue.h
r36263 r36764 57 57 class JSValue : Noncopyable { 58 58 friend class JSCell; // so it can derive from this class 59 friend class Heap; // so it can call asCell()60 friend class Machine; // so it can call asCell()61 59 private: 62 60 JSValue(); … … 146 144 JSValue* getJSNumber(); // 0 if this is not a JSNumber or number object 147 145 146 JSCell* asCell(); 147 const JSCell* asCell() const; 148 148 149 private: 149 150 bool getPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&); … … 151 152 int32_t toInt32SlowCase(ExecState*, bool& ok) const; 152 153 uint32_t toUInt32SlowCase(ExecState*, bool& ok) const; 153 154 // Implementation details.155 JSCell* asCell();156 const JSCell* asCell() const;157 154 }; 158 155
Note:
See TracChangeset
for help on using the changeset viewer.