Title: [107494] trunk/Source/_javascript_Core
Revision
107494
Author
fpi...@apple.com
Date
2012-02-11 17:24:49 -0800 (Sat, 11 Feb 2012)

Log Message

Old 32_64 JIT should assert that its use of map() is consistent with the DFG
OSR exit's expectations
https://bugs.webkit.org/show_bug.cgi?id=78419
<rdar://problem/10817121>

Reviewed by Oliver Hunt.

* jit/JITInlineMethods.h:
(JSC::JIT::map):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (107493 => 107494)


--- trunk/Source/_javascript_Core/ChangeLog	2012-02-12 01:18:05 UTC (rev 107493)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-02-12 01:24:49 UTC (rev 107494)
@@ -1,3 +1,15 @@
+2012-02-11  Filip Pizlo  <fpi...@apple.com>
+
+        Old 32_64 JIT should assert that its use of map() is consistent with the DFG
+        OSR exit's expectations
+        https://bugs.webkit.org/show_bug.cgi?id=78419
+        <rdar://problem/10817121>
+
+        Reviewed by Oliver Hunt.
+
+        * jit/JITInlineMethods.h:
+        (JSC::JIT::map):
+
 2012-02-11  Mark Hahnenberg  <mhahnenb...@apple.com>
 
         Reduce the reentrancy limit of the interpreter for the iOS simulator

Modified: trunk/Source/_javascript_Core/jit/JITInlineMethods.h (107493 => 107494)


--- trunk/Source/_javascript_Core/jit/JITInlineMethods.h	2012-02-12 01:18:05 UTC (rev 107493)
+++ trunk/Source/_javascript_Core/jit/JITInlineMethods.h	2012-02-12 01:24:49 UTC (rev 107494)
@@ -680,6 +680,9 @@
     m_mappedVirtualRegisterIndex = virtualRegisterIndex;
     m_mappedTag = tag;
     m_mappedPayload = payload;
+    
+    ASSERT(!canBeOptimized() || m_mappedPayload == regT0);
+    ASSERT(!canBeOptimized() || m_mappedTag == regT1);
 }
 
 inline void JIT::unmap(RegisterID registerID)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to