Changeset 58308 in webkit
- Timestamp:
- Apr 27, 2010 6:56:53 AM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r58307 r58308 1 2010-04-21 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 Compile fix for Visual Studio 2010 6 https://bugs.webkit.org/show_bug.cgi?id=37867 7 8 Patch by Prasanth Ullattil <prasanth.ullattil@nokia.com> 9 10 * runtime/Structure.cpp: 11 (JSC::Structure::transitionTableAdd): 12 * wtf/MathExtras.h: 13 * wtf/Platform.h: 14 1 15 2010-04-27 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 16 -
trunk/JavaScriptCore/runtime/Structure.cpp
r55256 r58308 169 169 TransitionTable::iterator find = transitionTable()->find(key); 170 170 if (find == transitionTable()->end()) 171 transitionTable()->add(key, Transition(structure, 0));171 transitionTable()->add(key, Transition(structure, static_cast<Structure*>(0))); 172 172 else 173 173 find->second.first = structure; … … 176 176 // an existing transition 177 177 ASSERT(!transitionTable()->contains(key)); 178 transitionTable()->add(key, Transition( 0, structure));178 transitionTable()->add(key, Transition(static_cast<Structure*>(0), structure)); 179 179 } 180 180 } -
trunk/JavaScriptCore/wtf/MathExtras.h
r58167 r58308 123 123 124 124 #if COMPILER(MSVC) 125 125 // The 64bit version of abs() is already defined in stdlib.h which comes with VC10 126 #if COMPILER(MSVC9_OR_LOWER) 126 127 inline long long abs(long long num) { return _abs64(num); } 128 #endif 127 129 128 130 inline bool isinf(double num) { return !_finite(num) && !_isnan(num); } -
trunk/JavaScriptCore/wtf/Platform.h
r58307 r58308 60 60 /* COMPILER(MSVC) Microsoft Visual C++ */ 61 61 /* COMPILER(MSVC7_OR_LOWER) Microsoft Visual C++ 2003 or lower*/ 62 /* COMPILER(MSVC9_OR_LOWER) Microsoft Visual C++ 2008 or lower*/ 62 63 #if defined(_MSC_VER) 63 64 #define WTF_COMPILER_MSVC 1 64 65 #if _MSC_VER < 1400 65 66 #define WTF_COMPILER_MSVC7_OR_LOWER 1 67 #elif _MSC_VER < 1600 68 #define WTF_COMPILER_MSVC9_OR_LOWER 1 66 69 #endif 67 70 #endif
Note: See TracChangeset
for help on using the changeset viewer.