Changeset 51955 in webkit for trunk/JavaScriptCore
- Timestamp:
- Dec 10, 2009, 11:51:20 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r51939 r51955 1 2009-12-09 Anders Carlsson <[email protected]> 2 3 Reviewed by Geoffrey Garen. 4 5 Fix three more things found by compiling with clang++. 6 7 * runtime/Structure.h: 8 (JSC::StructureTransitionTable::reifySingleTransition): 9 Add the 'std' qualifier to the call to make_pair. 10 11 * wtf/DateMath.cpp: 12 (WTF::initializeDates): 13 Incrementing a bool is deprecated according to the C++ specification. 14 15 * wtf/PtrAndFlags.h: 16 (WTF::PtrAndFlags::PtrAndFlags): 17 Name lookup should not be done in dependent bases, so explicitly qualify the call to set. 18 1 19 2009-12-09 Maciej Stachowiak <[email protected]> 2 20 -
trunk/JavaScriptCore/runtime/Structure.h
r50704 r51955 308 308 setTransitionTable(transitionTable); 309 309 if (existingTransition) 310 add( make_pair(existingTransition->m_nameInPrevious.get(), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);310 add(std::make_pair(existingTransition->m_nameInPrevious.get(), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious); 311 311 } 312 312 } // namespace JSC -
trunk/JavaScriptCore/wtf/DateMath.cpp
r50927 r51955 464 464 #ifndef NDEBUG 465 465 static bool alreadyInitialized; 466 ASSERT(!alreadyInitialized++); 466 ASSERT(!alreadyInitialized); 467 alreadyInitialized = true; 467 468 #endif 468 469 -
trunk/JavaScriptCore/wtf/PtrAndFlags.h
r48264 r51955 69 69 { 70 70 PtrAndFlagsBase<T, FlagEnum>::m_ptrAndFlags = 0; 71 set(ptr);71 PtrAndFlagsBase<T, FlagEnum>::set(ptr); 72 72 } 73 73 };
Note:
See TracChangeset
for help on using the changeset viewer.