Skip to content
  • fpizlo@apple.com's avatar
    FTL should have an inefficient but correct implementation of GetById · 6cd705df
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=122740
    
    Reviewed by Mark Hahnenberg.
            
    It took some effort to realize that the node->prediction() check in the DFG backends
    are completely unnecessary since the ByteCodeParser will always insert a ForceOSRExit
    if !prediction.
            
    But other than that this was an easy patch.
    
    * dfg/DFGByteCodeParser.cpp:
    (JSC::DFG::ByteCodeParser::handleGetById):
    * dfg/DFGSpeculativeJIT32_64.cpp:
    (JSC::DFG::SpeculativeJIT::compile):
    * dfg/DFGSpeculativeJIT64.cpp:
    (JSC::DFG::SpeculativeJIT::compile):
    * ftl/FTLCapabilities.cpp:
    (JSC::FTL::canCompile):
    * ftl/FTLIntrinsicRepository.h:
    * ftl/FTLLowerDFGToLLVM.cpp:
    (JSC::FTL::LowerDFGToLLVM::compileNode):
    (JSC::FTL::LowerDFGToLLVM::compileGetById):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6cd705df