Index: src/messages.cc |
=================================================================== |
--- src/messages.cc (revision 688) |
+++ src/messages.cc (working copy) |
@@ -108,14 +108,13 @@ |
Handle<Object> message = |
Execution::Call(fun, Factory::undefined_value(), argc, argv, |
&caught_exception); |
- if (caught_exception) { |
- // If creating the message (in JS code) resulted in an exception, we |
- // skip doing the callback. This usually only happens in case of |
- // stack overflow exceptions being thrown by the parser when the |
- // stack is almost full. |
- if (caught_exception) return Handle<Object>(); |
- } |
+ // If creating the message (in JS code) resulted in an exception, we |
+ // skip doing the callback. This usually only happens in case of |
+ // stack overflow exceptions being thrown by the parser when the |
+ // stack is almost full. |
+ if (caught_exception) return Handle<Object>(); |
+ |
return message.EscapeFrom(&scope); |
} |