~ubuntu-branches/ubuntu/trusty/libv8/trusty

« back to all changes in this revision

Viewing changes to tools/logreader.js

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2012-02-20 14:08:17 UTC
  • mfrom: (15.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20120220140817-bsvmeoa4sxsj5hbz
Tags: 3.7.12.22-3
Fix mipsel build, allow test debug-step-3 to fail (non-crucial)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Copyright 2009 the V8 project authors. All rights reserved.
 
1
// Copyright 2011 the V8 project authors. All rights reserved.
2
2
// Redistribution and use in source and binary forms, with or without
3
3
// modification, are permitted provided that the following conditions are
4
4
// met:
134
134
LogReader.prototype.dispatchLogRow_ = function(fields) {
135
135
  // Obtain the dispatch.
136
136
  var command = fields[0];
137
 
  if (!(command in this.dispatchTable_)) {
138
 
    throw new Error('unknown command: ' + command);
139
 
  }
 
137
  if (!(command in this.dispatchTable_)) return;
 
138
 
140
139
  var dispatch = this.dispatchTable_[command];
141
140
 
142
141
  if (dispatch === null || this.skipDispatch(dispatch)) {