Changeset 43372 in webkit for trunk/JavaScriptCore/runtime/JSFunction.h
- Timestamp:
- May 7, 2009, 3:52:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSFunction.h
r43220 r43372 84 84 bool isHostFunction() const { return false; } 85 85 #endif 86 NativeFunction nativeFunction() 87 { 88 return *reinterpret_cast<NativeFunction*>(m_data); 89 } 86 90 private: 87 91 virtual const ClassInfo* classInfo() const { return &info; } … … 115 119 *reinterpret_cast<ScopeChain*>(m_data) = sc; 116 120 } 117 NativeFunction nativeFunction()118 {119 return *reinterpret_cast<NativeFunction*>(m_data);120 }121 121 void setNativeFunction(NativeFunction func) 122 122 {
Note:
See TracChangeset
for help on using the changeset viewer.