Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes
This commit is contained in:
@@ -507,12 +507,10 @@ DumpHeap(JSContext *cx,
|
||||
}
|
||||
}
|
||||
|
||||
ok = JS_DumpHeap(JS_GetRuntime(cx), dumpFile, startThing, startTraceKind, thingToFind,
|
||||
ok = JS_DumpHeap(cx, dumpFile, startThing, startTraceKind, thingToFind,
|
||||
maxDepth, thingToIgnore);
|
||||
if (dumpFile != stdout)
|
||||
fclose(dumpFile);
|
||||
if (!ok)
|
||||
JS_ReportOutOfMemory(cx);
|
||||
return ok;
|
||||
|
||||
not_traceable_arg:
|
||||
|
||||
Reference in New Issue
Block a user