Chromium Code Reviews| Index: src/debug/debug.h |
| diff --git a/src/debug/debug.h b/src/debug/debug.h |
| index 19f89a0e2743a383e0efdf6e2c94e389a1f0647c..b0bfc792afa954abc16e47272943dfeafc02e5b6 100644 |
| --- a/src/debug/debug.h |
| +++ b/src/debug/debug.h |
| @@ -351,7 +351,7 @@ class Debug { |
| // Support for LiveEdit |
| void ScheduleFrameRestart(StackFrame* frame); |
| - bool IsFrameBlackboxed(JavaScriptFrame* frame); |
| + bool HasNonBlackboxedFrameOnStack(); |
|
dgozman
2017/03/03 19:47:06
Let's have AllFramesOnStackAreBlackboxed() - less
kozy
2017/03/03 23:14:02
Done.
|
| // Threading support. |
| char* ArchiveDebug(char* to); |
| @@ -487,6 +487,8 @@ class Debug { |
| // Clear all one-shot instrumentations, but restore break points. |
| void ClearOneShot(); |
| + bool IsFrameBlackboxed(JavaScriptFrame* frame); |
| + |
| void ActivateStepOut(StackFrame* frame); |
| void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info); |
| MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info, |
| @@ -599,8 +601,9 @@ class Debug { |
| class LegacyDebugDelegate : public v8::debug::DebugDelegate { |
| public: |
| explicit LegacyDebugDelegate(Isolate* isolate) : isolate_(isolate) {} |
| - void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id, |
| - int parent_id) override; |
| + void PromiseEventOccurred(v8::Local<v8::Context> context, |
| + v8::debug::PromiseDebugActionType type, int id, |
| + int parent_id, bool created_by_user) override; |
| void ScriptCompiled(v8::Local<v8::debug::Script> script, |
| bool has_compile_error) override; |
| void BreakProgramRequested(v8::Local<v8::Context> paused_context, |