Title: [113333] trunk/Source/_javascript_Core
Revision
113333
Author
[email protected]
Date
2012-04-05 10:18:22 -0700 (Thu, 05 Apr 2012)

Log Message

Rolling out http://trac.webkit.org/changeset/113262.
Original code was fine.

Rubber-stamped by Oliver Hunt.

* assembler/MacroAssembler.h:
(JSC::MacroAssembler::additionBlindedConstant):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (113332 => 113333)


--- trunk/Source/_javascript_Core/ChangeLog	2012-04-05 17:11:41 UTC (rev 113332)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-04-05 17:18:22 UTC (rev 113333)
@@ -1,3 +1,13 @@
+2012-04-05  Michael Saboff  <[email protected]>
+
+        Rolling out http://trac.webkit.org/changeset/113262.
+        Original code was fine.
+
+        Rubber-stamped by Oliver Hunt.
+
+        * assembler/MacroAssembler.h:
+        (JSC::MacroAssembler::additionBlindedConstant):
+
 2012-04-05  Patrick Gansterer  <[email protected]>
 
         [WinCE] Remove unnecessary function decleration

Modified: trunk/Source/_javascript_Core/assembler/MacroAssembler.h (113332 => 113333)


--- trunk/Source/_javascript_Core/assembler/MacroAssembler.h	2012-04-05 17:11:41 UTC (rev 113332)
+++ trunk/Source/_javascript_Core/assembler/MacroAssembler.h	2012-04-05 17:18:22 UTC (rev 113333)
@@ -703,7 +703,7 @@
         static uint32_t maskTable[4] = { 0xfffffffc, 0xffffffff, 0xfffffffe, 0xffffffff };
 
         uint32_t baseValue = imm.asTrustedImm32().m_value;
-        uint32_t key = keyForConstant(baseValue) & maskTable[baseValue & 2];
+        uint32_t key = keyForConstant(baseValue) & maskTable[baseValue & 3];
         if (key > baseValue)
             key = key - baseValue;
         return BlindedImm32(baseValue - key, key);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to