Commit 77140c19 authored by Bret Sepulveda's avatar Bret Sepulveda Committed by Commit Bot

Delete dead/debug code in (tick|ic|map)processor.js.

Change-Id: I76264a2f912eaac0ca913004fe9ec1f57d03ecb9
Reviewed-on: https://chromium-review.googlesource.com/1177390Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55160}
parent 620410a1
......@@ -61,7 +61,6 @@ function IcProcessor() {
parsers : propertyICParser,
processor: this.processPropertyIC.bind(this, "StoreInArrayLiteralIC") },
});
this.deserializedEntriesNames_ = [];
this.profile_ = new Profile();
this.LoadIC = 0;
......@@ -118,10 +117,6 @@ IcProcessor.prototype.addEntry = function(entry) {
IcProcessor.prototype.processCodeCreation = function(
type, kind, timestamp, start, size, name, maybe_func) {
name = this.deserializedEntriesNames_[start] || name;
if (name.startsWith("onComplete")) {
console.log(name);
}
if (maybe_func.length) {
var funcAddr = parseInt(maybe_func[0]);
var state = parseState(maybe_func[1]);
......
......@@ -39,7 +39,6 @@ class MapProcessor extends LogReader {
processor: this.processMapDetails
}
};
this.deserializedEntriesNames_ = [];
this.profile_ = new Profile();
this.timeline_ = new Timeline();
}
......@@ -66,7 +65,7 @@ class MapProcessor extends LogReader {
this.processLogLine(line);
}
} catch(e) {
console.log("Error occurred during parsing, trying to continue: " + e);
console.error("Error occurred during parsing, trying to continue: " + e);
}
return this.finalize();
}
......@@ -108,10 +107,6 @@ class MapProcessor extends LogReader {
processCodeCreation(
type, kind, timestamp, start, size, name, maybe_func) {
name = this.deserializedEntriesNames_[start] || name;
if (name.startsWith("onComplete")) {
console.log(name);
}
if (maybe_func.length) {
let funcAddr = parseInt(maybe_func[0]);
let state = this.parseState(maybe_func[1]);
......@@ -180,9 +175,6 @@ class MapProcessor extends LogReader {
}
createMap(id, time) {
if (id == 0x1821257d1761) {
console.log(id);
}
let map = new V8Map(id, time);
this.timeline_.push(map);
return map;
......
......@@ -160,7 +160,6 @@ function TickProcessor(
this.stateFilter_ = stateFilter;
this.runtimeTimerFilter_ = runtimeTimerFilter;
this.sourceMap = sourceMap;
this.deserializedEntriesNames_ = [];
var ticks = this.ticks_ =
{ total: 0, unaccounted: 0, excluded: 0, gc: 0 };
......@@ -299,7 +298,6 @@ TickProcessor.prototype.processSharedLibrary = function(
TickProcessor.prototype.processCodeCreation = function(
type, kind, timestamp, start, size, name, maybe_func) {
name = this.deserializedEntriesNames_[start] || name;
if (maybe_func.length) {
var funcAddr = parseInt(maybe_func[0]);
var state = parseState(maybe_func[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment