Changeset 140201 in webkit


Ignore:
Timestamp:
Jan 18, 2013 1:28:30 PM (11 years ago)
Author:
msaboff@apple.com
Message:

Fix up of ArithDiv nodes for non-x86 CPUs is broken
https://bugs.webkit.org/show_bug.cgi?id=107309

Reviewed by Filip Pizlo.

Changed the logic so that we insert an Int32ToDouble node when the existing edge is not SpecDouble.

  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixDoubleEdge):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r140199 r140201  
     12013-01-18  Michael Saboff  <msaboff@apple.com>
     2
     3        Fix up of ArithDiv nodes for non-x86 CPUs is broken
     4        https://bugs.webkit.org/show_bug.cgi?id=107309
     5
     6        Reviewed by  Filip Pizlo.
     7
     8        Changed the logic so that we insert an Int32ToDouble node when the existing edge is not SpecDouble.
     9
     10        * dfg/DFGFixupPhase.cpp:
     11        (JSC::DFG::FixupPhase::fixDoubleEdge):
     12
    1132013-01-18  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp

    r139541 r140201  
    554554        Edge& edge = m_graph.child(source, childIndex);
    555555       
    556         if (!m_graph[edge].shouldSpeculateInteger()) {
     556        if (m_graph[edge].prediction() & SpecDouble) {
    557557            edge.setUseKind(DoubleUse);
    558558            return;
Note: See TracChangeset for help on using the changeset viewer.