<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[189086] trunk/Source/JavaScriptCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/189086">189086</a></dd>
<dt>Author</dt> <dd>mark.lam@apple.com</dd>
<dt>Date</dt> <dd>2015-08-27 22:59:44 -0700 (Thu, 27 Aug 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add noDFG() to jsc to prevent DFG compilation of a specified function.
https://bugs.webkit.org/show_bug.cgi?id=148559

Reviewed by Geoffrey Garen and Saam Barati.

* API/JSCTestRunnerUtils.cpp:
(JSC::setNeverInline):
(JSC::setNeverOptimize):
* API/JSCTestRunnerUtils.h:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpAssumingJITType):
* dfg/DFGCapabilities.cpp:
(JSC::DFG::mightCompileEval):
(JSC::DFG::mightCompileProgram):
(JSC::DFG::mightCompileFunctionForCall):
(JSC::DFG::mightCompileFunctionForConstruct):
(JSC::DFG::mightInlineFunctionForCall):
* jsc.cpp:
(GlobalObject::finishCreation):
(functionNoDFG):
* runtime/Executable.h:
(JSC::ScriptExecutable::ecmaMode):
(JSC::ScriptExecutable::setNeverInline):
(JSC::ScriptExecutable::setNeverOptimize):
(JSC::ScriptExecutable::setDidTryToEnterInLoop):
(JSC::ScriptExecutable::neverInline):
(JSC::ScriptExecutable::neverOptimize):
(JSC::ScriptExecutable::didTryToEnterInLoop):
(JSC::ScriptExecutable::isInliningCandidate):
(JSC::ScriptExecutable::isOkToOptimize):
(JSC::ScriptExecutable::addressOfDidTryToEnterInLoop):
* runtime/TestRunnerUtils.cpp:
(JSC::setNeverInline):
(JSC::setNeverOptimize):
(JSC::optimizeNextInvocation):
* runtime/TestRunnerUtils.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreAPIJSCTestRunnerUtilscpp">trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreAPIJSCTestRunnerUtilsh">trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeCodeBlockcpp">trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoredfgDFGCapabilitiescpp">trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCorejsccpp">trunk/Source/JavaScriptCore/jsc.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeExecutableh">trunk/Source/JavaScriptCore/runtime/Executable.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeTestRunnerUtilscpp">trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeTestRunnerUtilsh">trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreAPIJSCTestRunnerUtilscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.cpp (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.cpp        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.cpp        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -46,5 +46,12 @@
</span><span class="cx">     return toRef(exec, setNeverInline(toJS(exec, theFunctionValueRef)));
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+JSValueRef setNeverOptimize(JSContextRef context, JSValueRef theFunctionValueRef)
+{
+    ExecState* exec= toJS(context);
+    JSLockHolder holder(exec);
+    return toRef(exec, setNeverOptimize(toJS(exec, theFunctionValueRef)));
+}
+
</ins><span class="cx"> } // namespace JSC
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreAPIJSCTestRunnerUtilsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.h (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.h        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/API/JSCTestRunnerUtils.h        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> 
</span><span class="cx"> JS_EXPORT_PRIVATE JSValueRef numberOfDFGCompiles(JSContextRef, JSValueRef theFunction);
</span><span class="cx"> JS_EXPORT_PRIVATE JSValueRef setNeverInline(JSContextRef, JSValueRef theFunction);
</span><ins>+JS_EXPORT_PRIVATE JSValueRef setNeverOptimize(JSContextRef, JSValueRef theFunction);
</ins><span class="cx"> 
</span><span class="cx"> } // namespace JSC
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -1,3 +1,42 @@
</span><ins>+2015-08-27  Mark Lam  &lt;mark.lam@apple.com&gt;
+
+        Add noDFG() to jsc to prevent DFG compilation of a specified function.
+        https://bugs.webkit.org/show_bug.cgi?id=148559
+
+        Reviewed by Geoffrey Garen and Saam Barati.
+
+        * API/JSCTestRunnerUtils.cpp:
+        (JSC::setNeverInline):
+        (JSC::setNeverOptimize):
+        * API/JSCTestRunnerUtils.h:
+        * bytecode/CodeBlock.cpp:
+        (JSC::CodeBlock::dumpAssumingJITType):
+        * dfg/DFGCapabilities.cpp:
+        (JSC::DFG::mightCompileEval):
+        (JSC::DFG::mightCompileProgram):
+        (JSC::DFG::mightCompileFunctionForCall):
+        (JSC::DFG::mightCompileFunctionForConstruct):
+        (JSC::DFG::mightInlineFunctionForCall):
+        * jsc.cpp:
+        (GlobalObject::finishCreation):
+        (functionNoDFG):
+        * runtime/Executable.h:
+        (JSC::ScriptExecutable::ecmaMode):
+        (JSC::ScriptExecutable::setNeverInline):
+        (JSC::ScriptExecutable::setNeverOptimize):
+        (JSC::ScriptExecutable::setDidTryToEnterInLoop):
+        (JSC::ScriptExecutable::neverInline):
+        (JSC::ScriptExecutable::neverOptimize):
+        (JSC::ScriptExecutable::didTryToEnterInLoop):
+        (JSC::ScriptExecutable::isInliningCandidate):
+        (JSC::ScriptExecutable::isOkToOptimize):
+        (JSC::ScriptExecutable::addressOfDidTryToEnterInLoop):
+        * runtime/TestRunnerUtils.cpp:
+        (JSC::setNeverInline):
+        (JSC::setNeverOptimize):
+        (JSC::optimizeNextInvocation):
+        * runtime/TestRunnerUtils.h:
+
</ins><span class="cx"> 2015-08-27  Commit Queue  &lt;commit-queue@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, rolling out r189064 and r189084.
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeCodeBlockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -157,6 +157,8 @@
</span><span class="cx">         out.print(&quot; (ShouldAlwaysBeInlined)&quot;);
</span><span class="cx">     if (ownerExecutable()-&gt;neverInline())
</span><span class="cx">         out.print(&quot; (NeverInline)&quot;);
</span><ins>+    if (ownerExecutable()-&gt;neverOptimize())
+        out.print(&quot; (NeverOptimize)&quot;);
</ins><span class="cx">     if (ownerExecutable()-&gt;didTryToEnterInLoop())
</span><span class="cx">         out.print(&quot; (DidTryToEnterInLoop)&quot;);
</span><span class="cx">     if (ownerExecutable()-&gt;isStrictMode())
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoredfgDFGCapabilitiescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/dfg/DFGCapabilities.cpp        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -50,22 +50,26 @@
</span><span class="cx"> bool mightCompileEval(CodeBlock* codeBlock)
</span><span class="cx"> {
</span><span class="cx">     return isSupported()
</span><del>-        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount();
</del><ins>+        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount()
+        &amp;&amp; codeBlock-&gt;ownerExecutable()-&gt;isOkToOptimize();
</ins><span class="cx"> }
</span><span class="cx"> bool mightCompileProgram(CodeBlock* codeBlock)
</span><span class="cx"> {
</span><span class="cx">     return isSupported()
</span><del>-        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount();
</del><ins>+        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount()
+        &amp;&amp; codeBlock-&gt;ownerExecutable()-&gt;isOkToOptimize();
</ins><span class="cx"> }
</span><span class="cx"> bool mightCompileFunctionForCall(CodeBlock* codeBlock)
</span><span class="cx"> {
</span><span class="cx">     return isSupported()
</span><del>-        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount();
</del><ins>+        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount()
+        &amp;&amp; codeBlock-&gt;ownerExecutable()-&gt;isOkToOptimize();
</ins><span class="cx"> }
</span><span class="cx"> bool mightCompileFunctionForConstruct(CodeBlock* codeBlock)
</span><span class="cx"> {
</span><span class="cx">     return isSupported()
</span><del>-        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount();
</del><ins>+        &amp;&amp; codeBlock-&gt;instructionCount() &lt;= Options::maximumOptimizationCandidateInstructionCount()
+        &amp;&amp; codeBlock-&gt;ownerExecutable()-&gt;isOkToOptimize();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool mightInlineFunctionForCall(CodeBlock* codeBlock)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorejsccpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/jsc.cpp (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/jsc.cpp        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/jsc.cpp        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -473,6 +473,7 @@
</span><span class="cx"> static EncodedJSValue JSC_HOST_CALL functionReadline(ExecState*);
</span><span class="cx"> static EncodedJSValue JSC_HOST_CALL functionPreciseTime(ExecState*);
</span><span class="cx"> static EncodedJSValue JSC_HOST_CALL functionNeverInlineFunction(ExecState*);
</span><ins>+static EncodedJSValue JSC_HOST_CALL functionNoDFG(ExecState*);
</ins><span class="cx"> static EncodedJSValue JSC_HOST_CALL functionOptimizeNextInvocation(ExecState*);
</span><span class="cx"> static EncodedJSValue JSC_HOST_CALL functionNumberOfDFGCompiles(ExecState*);
</span><span class="cx"> static EncodedJSValue JSC_HOST_CALL functionReoptimizationRetryCount(ExecState*);
</span><span class="lines">@@ -631,6 +632,7 @@
</span><span class="cx">         addFunction(vm, &quot;preciseTime&quot;, functionPreciseTime, 0);
</span><span class="cx">         addFunction(vm, &quot;neverInlineFunction&quot;, functionNeverInlineFunction, 1);
</span><span class="cx">         addFunction(vm, &quot;noInline&quot;, functionNeverInlineFunction, 1);
</span><ins>+        addFunction(vm, &quot;noDFG&quot;, functionNoDFG, 1);
</ins><span class="cx">         addFunction(vm, &quot;numberOfDFGCompiles&quot;, functionNumberOfDFGCompiles, 1);
</span><span class="cx">         addFunction(vm, &quot;optimizeNextInvocation&quot;, functionOptimizeNextInvocation, 1);
</span><span class="cx">         addFunction(vm, &quot;reoptimizationRetryCount&quot;, functionReoptimizationRetryCount, 1);
</span><span class="lines">@@ -1179,6 +1181,11 @@
</span><span class="cx">     return JSValue::encode(setNeverInline(exec));
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+EncodedJSValue JSC_HOST_CALL functionNoDFG(ExecState* exec)
+{
+    return JSValue::encode(setNeverOptimize(exec));
+}
+
</ins><span class="cx"> EncodedJSValue JSC_HOST_CALL functionOptimizeNextInvocation(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     return JSValue::encode(optimizeNextInvocation(exec));
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeExecutableh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/Executable.h (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/Executable.h        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/runtime/Executable.h        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -374,10 +374,13 @@
</span><span class="cx">     ECMAMode ecmaMode() const { return isStrictMode() ? StrictMode : NotStrictMode; }
</span><span class="cx">         
</span><span class="cx">     void setNeverInline(bool value) { m_neverInline = value; }
</span><ins>+    void setNeverOptimize(bool value) { m_neverOptimize = value; }
</ins><span class="cx">     void setDidTryToEnterInLoop(bool value) { m_didTryToEnterInLoop = value; }
</span><span class="cx">     bool neverInline() const { return m_neverInline; }
</span><ins>+    bool neverOptimize() const { return m_neverOptimize; }
</ins><span class="cx">     bool didTryToEnterInLoop() const { return m_didTryToEnterInLoop; }
</span><span class="cx">     bool isInliningCandidate() const { return !neverInline(); }
</span><ins>+    bool isOkToOptimize() const { return !neverOptimize(); }
</ins><span class="cx">     
</span><span class="cx">     bool* addressOfDidTryToEnterInLoop() { return &amp;m_didTryToEnterInLoop; }
</span><span class="cx"> 
</span><span class="lines">@@ -431,6 +434,7 @@
</span><span class="cx">     CodeFeatures m_features;
</span><span class="cx">     bool m_hasCapturedVariables;
</span><span class="cx">     bool m_neverInline;
</span><ins>+    bool m_neverOptimize { false };
</ins><span class="cx">     bool m_didTryToEnterInLoop;
</span><span class="cx">     int m_overrideLineNumber;
</span><span class="cx">     int m_firstLine;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeTestRunnerUtilscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.cpp (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.cpp        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.cpp        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -83,6 +83,14 @@
</span><span class="cx">     return jsUndefined();
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+JSValue setNeverOptimize(JSValue theFunctionValue)
+{
+    if (FunctionExecutable* executable = getExecutableForFunction(theFunctionValue))
+        executable-&gt;setNeverOptimize(true);
+    
+    return jsUndefined();
+}
+
</ins><span class="cx"> JSValue optimizeNextInvocation(JSValue theFunctionValue)
</span><span class="cx"> {
</span><span class="cx"> #if ENABLE(JIT)
</span><span class="lines">@@ -109,6 +117,13 @@
</span><span class="cx">     return setNeverInline(exec-&gt;uncheckedArgument(0));
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+JSValue setNeverOptimize(ExecState* exec)
+{
+    if (exec-&gt;argumentCount() &lt; 1)
+        return jsUndefined();
+    return setNeverOptimize(exec-&gt;uncheckedArgument(0));
+}
+
</ins><span class="cx"> JSValue optimizeNextInvocation(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeTestRunnerUtilsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.h (189085 => 189086)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.h        2015-08-28 05:19:34 UTC (rev 189085)
+++ trunk/Source/JavaScriptCore/runtime/TestRunnerUtils.h        2015-08-28 05:59:44 UTC (rev 189086)
</span><span class="lines">@@ -38,10 +38,12 @@
</span><span class="cx"> 
</span><span class="cx"> JS_EXPORT_PRIVATE JSValue numberOfDFGCompiles(JSValue function);
</span><span class="cx"> JS_EXPORT_PRIVATE JSValue setNeverInline(JSValue function);
</span><ins>+JS_EXPORT_PRIVATE JSValue setNeverOptimize(JSValue function);
</ins><span class="cx"> JS_EXPORT_PRIVATE JSValue optimizeNextInvocation(JSValue function);
</span><span class="cx"> 
</span><span class="cx"> JS_EXPORT_PRIVATE JSValue numberOfDFGCompiles(ExecState*);
</span><span class="cx"> JS_EXPORT_PRIVATE JSValue setNeverInline(ExecState*);
</span><ins>+JS_EXPORT_PRIVATE JSValue setNeverOptimize(ExecState*);
</ins><span class="cx"> JS_EXPORT_PRIVATE JSValue optimizeNextInvocation(ExecState*);
</span><span class="cx"> 
</span><span class="cx"> JS_EXPORT_PRIVATE unsigned numberOfExceptionFuzzChecks();
</span></span></pre>
</div>
</div>

</body>
</html>