Ignore:
Timestamp:
Mar 4, 2014, 11:25:02 PM (11 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r165085.
http://trac.webkit.org/changeset/165085
https://bugs.webkit.org/show_bug.cgi?id=129729

Broke imported/w3c/html-templates/template-element/template-
content.html (Requested by ap on #webkit).

Source/JavaScriptCore:

  • bytecode/SpeculatedType.cpp:

(JSC::speculationToAbbreviatedString):

  • bytecode/SpeculatedType.h:
  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):

  • dfg/DFGArrayMode.cpp:

(JSC::DFG::ArrayMode::refine):

  • dfg/DFGArrayMode.h:
  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::attemptToMakeGetArrayLength):

  • dfg/DFGNode.h:

(JSC::DFG::Node::shouldSpeculateBoolean):

  • dfg/DFGSafeToExecute.h:

(JSC::DFG::SafeToExecuteEdge::operator()):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileStrictEq):
(JSC::DFG::SpeculativeJIT::speculate):

  • dfg/DFGSpeculativeJIT.h:
  • dfg/DFGSpeculativeJIT32_64.cpp:
  • dfg/DFGSpeculativeJIT64.cpp:
  • dfg/DFGUseKind.cpp:

(WTF::printInternal):

  • dfg/DFGUseKind.h:

(JSC::DFG::typeFilterFor):

  • ftl/FTLCapabilities.cpp:

(JSC::FTL::canCompile):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileCompareEq):
(JSC::FTL::LowerDFGToLLVM::compileCompareStrictEq):
(JSC::FTL::LowerDFGToLLVM::speculate):

  • tests/stress/float32-array-out-of-bounds.js: Removed.
  • tests/stress/weird-equality-folding-cases.js: Removed.

LayoutTests:

  • js/regress/fold-strict-eq-expected.txt: Removed.
  • js/regress/fold-strict-eq.html: Removed.
  • js/regress/misc-strict-eq-expected.txt: Removed.
  • js/regress/misc-strict-eq.html: Removed.
  • js/regress/script-tests/fold-strict-eq.js: Removed.
  • js/regress/script-tests/misc-strict-eq.js: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp

    r165085 r165098  
    433433                break;
    434434            }
    435             if (node->child1()->shouldSpeculateMisc() && node->child2()->shouldSpeculateMisc()) {
    436                 fixEdge<MiscUse>(node->child1());
    437                 fixEdge<MiscUse>(node->child2());
    438                 break;
    439             }
    440435            break;
    441436        }
     
    458453            node->setArrayMode(
    459454                node->arrayMode().refine(
    460                     m_graph, node,
     455                    m_graph, node->origin.semantic,
    461456                    node->child1()->prediction(),
    462457                    node->child2()->prediction(),
     
    516511            node->setArrayMode(
    517512                node->arrayMode().refine(
    518                     m_graph, node,
     513                    m_graph, node->origin.semantic,
    519514                    child1->prediction(),
    520515                    child2->prediction(),
     
    602597            node->setArrayMode(
    603598                node->arrayMode().refine(
    604                     m_graph, node,
     599                    m_graph, node->origin.semantic,
    605600                    node->child1()->prediction() & SpecCell,
    606601                    SpecInt32,
     
    17561751           
    17571752        arrayMode = arrayMode.refine(
    1758             m_graph, node, node->child1()->prediction(), node->prediction());
     1753            m_graph, node->origin.semantic, node->child1()->prediction(), node->prediction());
    17591754           
    17601755        if (arrayMode.type() == Array::Generic) {
Note: See TracChangeset for help on using the changeset viewer.