Title: [190258] trunk/Source/_javascript_Core
Revision
190258
Author
[email protected]
Date
2015-09-25 16:52:42 -0700 (Fri, 25 Sep 2015)

Log Message

FTLOSRExitCompiler incorrectly excludes FPR registers in callee saves loop
https://bugs.webkit.org/show_bug.cgi?id=149540

Reviewed by Saam Barati.

Eliminated the incorrect check that callee saves registers are only GPRs.

* ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (190257 => 190258)


--- trunk/Source/_javascript_Core/ChangeLog	2015-09-25 22:36:09 UTC (rev 190257)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-09-25 23:52:42 UTC (rev 190258)
@@ -1,3 +1,15 @@
+2015-09-25  Michael Saboff  <[email protected]>
+
+        FTLOSRExitCompiler incorrectly excludes FPR registers in callee saves loop
+        https://bugs.webkit.org/show_bug.cgi?id=149540
+
+        Reviewed by Saam Barati.
+
+        Eliminated the incorrect check that callee saves registers are only GPRs.
+
+        * ftl/FTLOSRExitCompiler.cpp:
+        (JSC::FTL::compileStub):
+
 2015-09-25  Alex Christensen  <[email protected]>
 
         [Win] Switch to CMake

Modified: trunk/Source/_javascript_Core/ftl/FTLOSRExitCompiler.cpp (190257 => 190258)


--- trunk/Source/_javascript_Core/ftl/FTLOSRExitCompiler.cpp	2015-09-25 22:36:09 UTC (rev 190257)
+++ trunk/Source/_javascript_Core/ftl/FTLOSRExitCompiler.cpp	2015-09-25 23:52:42 UTC (rev 190258)
@@ -435,7 +435,7 @@
     RegisterAtOffsetList* baselineCalleeSaves = baselineCodeBlock->calleeSaveRegisters();
 
     for (Reg reg = Reg::first(); reg <= Reg::last(); reg = reg.next()) {
-        if (!allFTLCalleeSaves.get(reg) || !reg.isGPR())
+        if (!allFTLCalleeSaves.get(reg))
             continue;
         unsigned unwindIndex = codeBlock->calleeSaveRegisters()->indexOf(reg);
         RegisterAtOffset* baselineRegisterOffset = baselineCalleeSaves->find(reg);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to