Skip to content
  • oliver@apple.com's avatar
    Support some string intrinsics in the DFG JIT · 4b8cca37
    oliver@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=69678
    
    Reviewed by Gavin Barraclough.
    
    Add support for charAt and charCodeAt intrinsics in the DFG.
    
    * create_hash_table:
    * dfg/DFGByteCodeParser.cpp:
    (JSC::DFG::ByteCodeParser::handleIntrinsic):
    * dfg/DFGIntrinsic.h:
    * dfg/DFGNode.h:
    * dfg/DFGPropagator.cpp:
    (JSC::DFG::Propagator::propagateNodePredictions):
    (JSC::DFG::Propagator::performNodeCSE):
    * dfg/DFGSpeculativeJIT.cpp:
    (JSC::DFG::SpeculativeJIT::compileGetCharCodeAt):
    * dfg/DFGSpeculativeJIT.h:
    * dfg/DFGSpeculativeJIT32_64.cpp:
    (JSC::DFG::SpeculativeJIT::compile):
    * dfg/DFGSpeculativeJIT64.cpp:
    (JSC::DFG::SpeculativeJIT::compile):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4b8cca37