Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 64a5c05b5a38d4706469776fa9f1c22142bccc95..8a2c1937d5adcc410b501817862086b74f0f8d26 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -994,6 +994,7 @@ Object* Isolate::Throw(Object* exception, MessageLocation* location) { |
// Notify debugger of exception. |
if (is_catchable_by_javascript(exception)) { |
debug()->OnThrow(exception_handle); |
+ this->counters()->exceptions_thrown()->Increment(); |
Yang
2015/10/23 04:53:20
You can omit "this->"
Putting the counter increme
|
} |
// Generate the message if required. |