Changeset 53397 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jan 18, 2010, 1:54:51 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r53392 r53397 1 2010-01-18 Simon Hausmann <[email protected]> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Fix the build with strict gcc and RVCT versions: It's not legal to cast a 6 pointer to a function to a void* without an intermediate cast to a non-pointer 7 type. A cast to a ptrdiff_t inbetween fixes it. 8 9 * runtime/JSString.h: 10 (JSC::Fiber::JSString): 11 1 12 2010-01-15 Gavin Barraclough <[email protected]> 2 13 -
trunk/JavaScriptCore/runtime/JSString.h
r53371 r53397 259 259 { 260 260 // nasty hack because we can't union non-POD types 261 m_fibers[0] = reinterpret_cast<void*>( finalizer);261 m_fibers[0] = reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(finalizer)); 262 262 m_fibers[1] = context; 263 263 Heap::heap(this)->reportExtraMemoryCost(value.cost());
Note:
See TracChangeset
for help on using the changeset viewer.