Changeset 83827 in webkit
- Timestamp:
- Apr 14, 2011, 2:27:47 AM (14 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r83809 r83827 1 2011-04-14 Patrick Gansterer <[email protected]> 2 3 Unreviewed WinCE build fix for r83808. 4 5 It seams that the MSVC compiler for WinCE does not handle the friend scope correct. 6 Add an addtional inline function to StructureTransitionTable to work around this. 7 8 * runtime/Structure.h: 9 (JSC::StructureTransitionTable::keyForWeakGCMapFinalizer): 10 * runtime/StructureTransitionTable.h: 11 (JSC::StructureTransitionTable::WeakGCMapFinalizerCallback::keyForFinalizer): 12 1 13 2011-04-13 Oliver Hunt <[email protected]> 2 14 -
trunk/Source/JavaScriptCore/runtime/Structure.h
r83808 r83827 296 296 } 297 297 298 inline StructureTransitionTable::Hash::Key StructureTransitionTable:: WeakGCMapFinalizerCallback::keyForFinalizer(void*, Structure* structure)298 inline StructureTransitionTable::Hash::Key StructureTransitionTable::keyForWeakGCMapFinalizer(void*, Structure* structure) 299 299 { 300 300 return Hash::Key(structure->m_nameInPrevious.get(), structure->m_attributesInPrevious); -
trunk/Source/JavaScriptCore/runtime/StructureTransitionTable.h
r83809 r83827 75 75 return 0; 76 76 } 77 78 static Hash::Key keyForFinalizer(void* context, Structure*); 77 78 static inline Hash::Key keyForFinalizer(void* context, Structure* structure) 79 { 80 return keyForWeakGCMapFinalizer(context, structure); 81 } 79 82 }; 80 83 81 84 typedef WeakGCMap<Hash::Key, Structure, WeakGCMapFinalizerCallback, Hash, HashTraits> TransitionMap; 85 86 static Hash::Key keyForWeakGCMapFinalizer(void* context, Structure*); 82 87 83 88 public:
Note:
See TracChangeset
for help on using the changeset viewer.