32-bit build fix. Move the method decalration outside of the X86_64 only section.
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2012 21:41:28 +0000 (21:41 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2012 21:41:28 +0000 (21:41 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@135759 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/MacroAssembler.h

index 7248751..ef6a5f6 100644 (file)
@@ -1,5 +1,13 @@
 2012-11-26  Oliver Hunt  <oliver@apple.com>
 
+        32-bit build fix.  Move the method decalration outside of the X86_64 only section.
+
+        * assembler/MacroAssembler.h:
+        (MacroAssembler):
+        (JSC::MacroAssembler::shouldConsiderBlinding):
+
+2012-11-26  Oliver Hunt  <oliver@apple.com>
+
         Don't blind all the things.
         https://bugs.webkit.org/show_bug.cgi?id=102572
 
index de31cc2..3d57340 100644 (file)
@@ -308,7 +308,12 @@ public:
         ASSERT(condition == Equal || condition == NotEqual);
         return condition;
     }
-    
+
+    static const unsigned BlindingModulus = 64;
+    bool shouldConsiderBlinding()
+    {
+        return !(random() & (BlindingModulus - 1));
+    }
 
     // Ptr methods
     // On 32-bit platforms (i.e. x86), these methods directly map onto their 32-bit equivalents.
@@ -839,11 +844,6 @@ public:
     using MacroAssemblerBase::and64;
     using MacroAssemblerBase::convertInt32ToDouble;
     using MacroAssemblerBase::store64;
-    static const unsigned BlindingModulus = 64;
-    bool shouldConsiderBlinding()
-    {
-        return !(random() & (BlindingModulus - 1));
-    }
     bool shouldBlindDouble(double value)
     {
         // Don't trust NaN or +/-Infinity