| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index ac2b45e29eb97e5fa0e7f6a99bafcc6c2534b34f..e8d2eb07c1bda56c6a33bbde8c668e6dbbf9852c 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -1151,6 +1151,20 @@ class CompareOperationFeedback {
|
| enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 };
|
| };
|
|
|
| +// Describes how exactly a frame has been dropped from stack.
|
| +enum LiveEditFrameDropMode {
|
| + // No frame has been dropped.
|
| + LIVE_EDIT_FRAMES_UNTOUCHED,
|
| + // The top JS frame had been calling debug break slot stub. Patch the
|
| + // address this stub jumps to in the end.
|
| + LIVE_EDIT_FRAME_DROPPED_IN_DEBUG_SLOT_CALL,
|
| + // The top JS frame had been calling some C++ function. The return address
|
| + // gets patched automatically.
|
| + LIVE_EDIT_FRAME_DROPPED_IN_DIRECT_CALL,
|
| + LIVE_EDIT_FRAME_DROPPED_IN_RETURN_CALL,
|
| + LIVE_EDIT_CURRENTLY_SET_MODE
|
| +};
|
| +
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|