| Index: src/debug/debug.h
|
| diff --git a/src/debug/debug.h b/src/debug/debug.h
|
| index e8168b3a0bc77600942786a0bb2f2a3cbc17ec6f..810f8d2215b0e3daf90db66f4eb514da2325defb 100644
|
| --- a/src/debug/debug.h
|
| +++ b/src/debug/debug.h
|
| @@ -72,9 +72,6 @@ enum DebugBreakType {
|
| DEBUG_BREAK_SLOT_AT_TAIL_CALL,
|
| };
|
|
|
| -const int kDebugPromiseNoID = 0;
|
| -const int kDebugPromiseFirstID = 1;
|
| -
|
| class BreakLocation {
|
| public:
|
| static BreakLocation FromFrame(Handle<DebugInfo> debug_info,
|
| @@ -354,6 +351,9 @@ class Debug {
|
|
|
| void RecordGenerator(Handle<JSGeneratorObject> generator_object);
|
|
|
| + void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise,
|
| + Handle<Object> parent);
|
| +
|
| int NextAsyncTaskId(Handle<JSObject> promise);
|
|
|
| bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
|
|
|