Changeset 41886 in webkit
- Timestamp:
- Mar 20, 2009 6:18:16 PM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r41884 r41886 1 2009-03-20 Mike Hommey <glandium@debian.org> 2 3 Reviewed by Mark Rowe. Committed by Jan Alonzo. 4 5 Use the proper definition of RETURN_PAIR on !MSVC 6 7 The other version is actually a work around for a quirk in the windows 8 ABI, so checking whether we're under MSVC is more a appropriate check for 9 it. It also happens this workaround is not 64-bits safe, so we also error 10 out on x86-64 MSVC. 11 12 Thanks Gavin Barraclough. 13 14 * jit/JITStubs.h: 15 1 16 2009-03-20 Norbert Leser <norbert.leser@nokia.com> 2 17 -
trunk/JavaScriptCore/jit/JITStubs.h
r41168 r41886 75 75 76 76 // The Mac compilers are fine with this, 77 #if PLATFORM(MAC)77 #if !COMPILER(MSVC) 78 78 struct VoidPtrPair { 79 79 void* first; … … 82 82 #define RETURN_PAIR(a,b) VoidPtrPair pair = { a, b }; return pair 83 83 #else 84 #if PLATFORM(X86_64) 85 #error MSVC version of RETURN_PAIR is not 64-bits safe 86 #endif 84 87 typedef uint64_t VoidPtrPair; 85 88 union VoidPtrPairValue {
Note: See TracChangeset
for help on using the changeset viewer.