Backed out changeset 5a4fe79c370f (bug 958980) for bustage. a=backout
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 23 Jan 2014 15:12:03 -0500
changeset 175975 4c33f8a4052649d6f5e91a8cd933a74a9c8449ef
parent 175974 616bc4ca677ee3fca9ef727252fd4340dcaca8ae
child 175976 9625ee0234de2c0cd5acdd4a4ff660fdbcfc266f
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs958980
milestone28.0a2
backs out5a4fe79c370f288580c200ff408aa3bde79cef01
Backed out changeset 5a4fe79c370f (bug 958980) for bustage. a=backout
js/src/vm/Debugger.cpp
--- a/js/src/vm/Debugger.cpp
+++ b/js/src/vm/Debugger.cpp
@@ -2566,20 +2566,17 @@ class Debugger::ScriptQuery {
     }
 
     /*
      * If |script| matches this query, append it to |vector| or place it in
      * |innermostForCompartment|, as appropriate. Set |oom| if an out of memory
      * condition occurred.
      */
     void consider(JSScript *script) {
-        // We check for presence of script->code() because it is possible that
-        // the script was created and thus exposed to GC, but *not* fully
-        // initialized from fullyInit{FromEmitter,Trivial} due to errors.
-        if (oom || script->selfHosted || !script->code)
+        if (oom || script->selfHosted)
             return;
         JSCompartment *compartment = script->compartment();
         if (!compartments.has(compartment))
             return;
         if (urlCString.ptr()) {
             if (!script->filename() || strcmp(script->filename(), urlCString.ptr()) != 0)
                 return;
         }