Ignore:
Timestamp:
Nov 28, 2011, 2:48:17 PM (14 years ago)
Author:
[email protected]
Message:

Either remove the GetMethod node from the DFG backend, or find a use for it
https://bugs.webkit.org/show_bug.cgi?id=73178

Reviewed by Gavin Barraclough.

More testing seemed to imply that the GetMethod code was indeed not profitable
in any major test. So, it's probably best to just remove it.

  • bytecode/CodeBlock.cpp:

(JSC::MethodCallLinkInfo::reset):

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::execute):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::link):

  • dfg/DFGJITCompiler.h:
  • dfg/DFGNode.h:

(JSC::DFG::Node::hasIdentifier):
(JSC::DFG::Node::hasHeapPrediction):

  • dfg/DFGOperations.cpp:
  • dfg/DFGOperations.h:
  • dfg/DFGPropagator.cpp:

(JSC::DFG::Propagator::propagateNodePredictions):

  • dfg/DFGRepatch.cpp:
  • dfg/DFGRepatch.h:
  • dfg/DFGSpeculativeJIT.h:
  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::cachedGetById):
(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::cachedGetById):
(JSC::DFG::SpeculativeJIT::compile):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp

    r100883 r101283  
    20442044    cachedFunction.clear();
    20452045   
    2046     if (jitType == JITCode::DFGJIT) {
    2047 #if ENABLE(DFG_JIT)
    2048         repatchBuffer.relink(callReturnLocation, operationGetMethodOptimize);
    2049 #else
    2050         ASSERT_NOT_REACHED();
    2051 #endif
    2052     } else {
    2053         ASSERT(jitType == JITCode::BaselineJIT);
    2054         repatchBuffer.relink(callReturnLocation, cti_op_get_by_id_method_check);
    2055     }
     2046    ASSERT_UNUSED(jitType, jitType == JITCode::BaselineJIT);
     2047   
     2048    repatchBuffer.relink(callReturnLocation, cti_op_get_by_id_method_check);
    20562049}
    20572050
Note: See TracChangeset for help on using the changeset viewer.