Chromium Code Reviews| Index: src/debug.h |
| diff --git a/src/debug.h b/src/debug.h |
| index b0a6892bb572a9bec9904fb999856dd06fe1e516..0d254476d13edf5a5b4dc21e22721df247bfb75d 100644 |
| --- a/src/debug.h |
| +++ b/src/debug.h |
| @@ -793,13 +793,17 @@ class Debugger { |
| MUST_USE_RESULT MaybeHandle<Object> MakeBreakEvent( |
| Handle<Object> break_points_hit); |
| MUST_USE_RESULT MaybeHandle<Object> MakeExceptionEvent( |
| - Handle<Object> exception, bool uncaught); |
| + Handle<Object> exception, |
| + bool uncaught, |
| + Handle<Object> deferred_promise); |
|
rossberg
2014/04/24 07:27:36
Nit: any reason not to just name this 'promise'?
|
| MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( |
| Handle<Script> script, bool before); |
| MUST_USE_RESULT MaybeHandle<Object> MakeScriptCollectedEvent(int id); |
| void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); |
| - void OnException(Handle<Object> exception, bool uncaught); |
| + void OnException(Handle<Object> exception, |
| + bool uncaught, |
| + Handle<Object> deferred_promise = Handle<Object>::null()); |
|
rossberg
2014/04/24 07:27:36
Same here.
|
| void OnBeforeCompile(Handle<Script> script); |
| enum AfterCompileFlags { |