aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/tools/logreader.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-10-13 17:45:02 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-10-13 17:45:02 -0700
commit33b5f2f7799081eafe04df3278aad40fd4ae3b55 (patch)
tree46e2840438240411375d3f12f5172c42aa571f95 /deps/v8/tools/logreader.js
parent59a5262041dce0760b1f960a900eca8b8ca1138f (diff)
downloadandroid-node-v8-33b5f2f7799081eafe04df3278aad40fd4ae3b55.tar.gz
android-node-v8-33b5f2f7799081eafe04df3278aad40fd4ae3b55.tar.bz2
android-node-v8-33b5f2f7799081eafe04df3278aad40fd4ae3b55.zip
Upgrade V8 to 3.7.0
Diffstat (limited to 'deps/v8/tools/logreader.js')
-rw-r--r--deps/v8/tools/logreader.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/deps/v8/tools/logreader.js b/deps/v8/tools/logreader.js
index 315e721276..a8141da21b 100644
--- a/deps/v8/tools/logreader.js
+++ b/deps/v8/tools/logreader.js
@@ -1,4 +1,4 @@
-// Copyright 2009 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -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)) {