Changeset 50232 in webkit for trunk/JavaScriptCore/runtime/JSFunction.h
- Timestamp:
- Oct 28, 2009, 1:07:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSFunction.h
r49721 r50232 67 67 NativeFunction nativeFunction() 68 68 { 69 return * reinterpret_cast<NativeFunction*>(m_data);69 return *WTF::bitwise_cast<NativeFunction*>(m_data); 70 70 } 71 71 … … 98 98 { 99 99 ASSERT(!isHostFunctionNonInline()); 100 return * reinterpret_cast<ScopeChain*>(m_data);100 return *WTF::bitwise_cast<ScopeChain*>(m_data); 101 101 } 102 102 void clearScopeChain() … … 113 113 { 114 114 ASSERT(!isHostFunctionNonInline()); 115 * reinterpret_cast<ScopeChain*>(m_data) = sc;115 *WTF::bitwise_cast<ScopeChain*>(m_data) = sc; 116 116 } 117 117 void setNativeFunction(NativeFunction func) 118 118 { 119 * reinterpret_cast<NativeFunction*>(m_data) = func;119 *WTF::bitwise_cast<NativeFunction*>(m_data) = func; 120 120 } 121 121 unsigned char m_data[sizeof(void*)];
Note:
See TracChangeset
for help on using the changeset viewer.