Tickprocessor no longer prints error messages on log entries that are unrelated to profiling.

BUG=v8:1683

Review URL: http://codereview.chromium.org/7906003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9302 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2011-09-15 13:12:59 +00:00
parent 6cbf91039d
commit b6808ee790

View File

@ -134,9 +134,8 @@ LogReader.prototype.skipDispatch = function(dispatch) {
LogReader.prototype.dispatchLogRow_ = function(fields) {
// Obtain the dispatch.
var command = fields[0];
if (!(command in this.dispatchTable_)) {
throw new Error('unknown command: ' + command);
}
if (!(command in this.dispatchTable_)) return;
var dispatch = this.dispatchTable_[command];
if (dispatch === null || this.skipDispatch(dispatch)) {