Title: [135759] trunk/Source/_javascript_Core
Revision
135759
Author
oli...@apple.com
Date
2012-11-26 13:41:28 -0800 (Mon, 26 Nov 2012)

Log Message

32-bit build fix.  Move the method decalration outside of the X86_64 only section.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (135758 => 135759)


--- trunk/Source/_javascript_Core/ChangeLog	2012-11-26 21:38:45 UTC (rev 135758)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-11-26 21:41:28 UTC (rev 135759)
@@ -1,5 +1,13 @@
 2012-11-26  Oliver Hunt  <oli...@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  <oli...@apple.com>
+
         Don't blind all the things.
         https://bugs.webkit.org/show_bug.cgi?id=102572
 

Modified: trunk/Source/_javascript_Core/assembler/MacroAssembler.h (135758 => 135759)


--- trunk/Source/_javascript_Core/assembler/MacroAssembler.h	2012-11-26 21:38:45 UTC (rev 135758)
+++ trunk/Source/_javascript_Core/assembler/MacroAssembler.h	2012-11-26 21:41:28 UTC (rev 135759)
@@ -308,8 +308,13 @@
         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.
     // FIXME: should this use a test for 32-bitness instead of this specific exception?
@@ -839,11 +844,6 @@
     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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to