Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
authorJacek Caban <jacek@codeweavers.com>
Sun, 27 Jun 2010 01:28:10 +0200
changeset 48527 e45f85c2dc59426b1746fbae824d202a5eb09573
parent 48526 e84327680528772bea42bed3a1ad0f14756464d4
child 48528 a19312341e18d8c3ab64627b6866d1d8c1664efb
push id14748
push userrsayre@mozilla.com
push dateSun, 01 Aug 2010 00:33:23 +0000
treeherdermozilla-central@f0df797bb2a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander
bugs573341
milestone2.0b2pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
js/src/nanojit/Assembler.h
--- a/js/src/nanojit/Assembler.h
+++ b/js/src/nanojit/Assembler.h
@@ -169,17 +169,17 @@ namespace nanojit
 
     inline uint32_t AR::stackSlotsNeeded() const
     {
         // NB: _highWaterMark is an index, not a count
         return _highWaterMark+1;
     }
 
     #ifndef AVMPLUS_ALIGN16
-        #ifdef AVMPLUS_WIN32
+        #ifdef _MSC_VER
             #define AVMPLUS_ALIGN16(type) __declspec(align(16)) type
         #else
             #define AVMPLUS_ALIGN16(type) type __attribute__ ((aligned (16)))
         #endif
     #endif
 
     // error codes
     enum AssmError