Skip to content
  • oliver@apple.com's avatar
    fourthTier: testRunner should have a way of disabling inlining of functions · 4e67ae52
    oliver@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=116875
    
    Reviewed by Mark Hahnenberg.
    
    Source/JavaScriptCore:
    
    * API/JSCTestRunnerUtils.cpp:
    (JSC::getExecutable):
    (JSC):
    (JSC::numberOfDFGCompiles):
    (JSC::setNeverInline):
    * API/JSCTestRunnerUtils.h:
    (JSC):
    * bytecode/CodeBlock.cpp:
    (JSC::CodeBlock::dumpAssumingJITType):
    * dfg/DFGCapabilities.cpp:
    (JSC::DFG::mightInlineFunctionForCall):
    (JSC::DFG::mightInlineFunctionForClosureCall):
    (JSC::DFG::mightInlineFunctionForConstruct):
    * runtime/Executable.h:
    (JSC::ScriptExecutable::ScriptExecutable):
    (ScriptExecutable):
    (JSC::ScriptExecutable::setNeverInline):
    (JSC::ScriptExecutable::neverInline):
    (JSC::ScriptExecutable::isInliningCandidate):
    
    Tools:
    
    * DumpRenderTree/TestRunner.cpp:
    (neverInlineFunction):
    (TestRunner::staticFunctions):
    
    LayoutTests:
    
    * fast/js/script-tests/dfg-min-max.js:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4e67ae52