Changeset 38463 in webkit for trunk/JavaScriptCore/runtime/JSVariableObject.h
- Timestamp:
- Nov 16, 2008, 6:08:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSVariableObject.h
r38461 r38463 42 42 43 43 class JSVariableObject : public JSObject { 44 friend class CTI;45 46 44 public: 47 45 SymbolTable& symbolTable() const { return *d->symbolTable; } … … 75 73 OwnArrayPtr<Register> registerArray; // Independent copy of registers, used when a variable object copies its registers out of the register file. 76 74 75 static inline ptrdiff_t offsetOf_registers() 76 { 77 return OBJECT_OFFSET(JSVariableObjectData, registers); 78 } 79 77 80 private: 78 81 JSVariableObjectData(const JSVariableObjectData&); … … 95 98 96 99 JSVariableObjectData* d; 100 101 public: 102 static inline ptrdiff_t offsetOf_d() 103 { 104 return OBJECT_OFFSET(JSVariableObject, d); 105 } 106 107 static inline ptrdiff_t offsetOf_Data_registers() 108 { 109 return JSVariableObjectData::offsetOf_registers(); 110 } 97 111 }; 98 112
Note:
See TracChangeset
for help on using the changeset viewer.