Bug 923892 - Ignore constrainedOutputs when canceling off thread compilations, r=jandem.
authorBrian Hackett <bhackett1024@gmail.com>
Thu, 10 Oct 2013 13:13:06 -0600
changeset 150388 371ed1f8661f4b6c27f6f1717c17c9986fa9c5ed
parent 150387 b26717579eed511343f7b36678316af1b5e91f6d
child 150389 2cc13126ec74a0c9b903324ace56e742487a9e3b
push id25437
push userkwierso@gmail.com
push dateFri, 11 Oct 2013 02:00:22 +0000
treeherdermozilla-central@672cd63528d3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs923892
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 923892 - Ignore constrainedOutputs when canceling off thread compilations, r=jandem.
js/src/jsinfer.cpp
--- a/js/src/jsinfer.cpp
+++ b/js/src/jsinfer.cpp
@@ -1915,18 +1915,16 @@ TypeCompartment::addPendingRecompile(JSC
 
     co->setPendingInvalidation();
 }
 
 void
 TypeCompartment::addPendingRecompile(JSContext *cx, JSScript *script)
 {
     JS_ASSERT(script);
-    if (!constrainedOutputs)
-        return;
 
 #ifdef JS_ION
     CancelOffThreadIonCompile(cx->compartment(), script);
 
     // Let the script warm up again before attempting another compile.
     if (jit::IsBaselineEnabled(cx))
         script->resetUseCount();