Bug 1101001. Stop checking compileAndGo in GetPCCountScriptContents. r=bhackett
authorBoris Zbarsky <bzbarsky@mit.edu>
Tue, 18 Nov 2014 23:27:15 -0500
changeset 240716 e20b1f0d57635eb08f35abaab8533157c4d7a2b2
parent 240715 ce076d08ad78abf4e9d693eac704fbe66b5265db
child 240717 2ccb583117552dec895df1af5b31418e3ae2354e
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs1101001
milestone36.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 1101001. Stop checking compileAndGo in GetPCCountScriptContents. r=bhackett
js/src/jsopcode.cpp
--- a/js/src/jsopcode.cpp
+++ b/js/src/jsopcode.cpp
@@ -2388,19 +2388,16 @@ js::GetPCCountScriptContents(JSContext *
         return nullptr;
     }
 
     const ScriptAndCounts &sac = (*rt->scriptAndCountsVector)[index];
     JSScript *script = sac.script;
 
     StringBuffer buf(cx);
 
-    if (!script->functionNonDelazifying() && !script->compileAndGo())
-        return buf.finishString();
-
     {
         AutoCompartment ac(cx, &script->global());
         if (!GetPCCountJSON(cx, sac, buf))
             return nullptr;
     }
 
     return buf.finishString();
 }