Skip to content
  • barraclough@apple.com's avatar
    Should support value profiling on CPU(X86) · e32d4ecc
    barraclough@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=68575
    
    Reviewed by Sam Weinig.
    
    Fix verbose profiling in ToT (SlowCaseProfile had been
    partially renamed to RareCaseProfile), add in-memory
    bucket counter for CPU(X86), move JIT::m_canBeOptimized
    out of the DFG_JIT ifdef.
    
    * bytecode/CodeBlock.cpp:
    (JSC::CodeBlock::resetRareCaseProfiles):
    (JSC::CodeBlock::dumpValueProfiles):
    * bytecode/CodeBlock.h:
    * dfg/DFGByteCodeParser.cpp:
    (JSC::DFG::ByteCodeParser::makeSafe):
    * jit/JIT.cpp:
    (JSC::JIT::privateCompileSlowCases):
    (JSC::JIT::privateCompile):
    * jit/JIT.h:
    * jit/JITInlineMethods.h:
    (JSC::JIT::emitValueProfilingSite):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e32d4ecc