OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef V8_DEBUG_LIVEEDIT_FRAME_DROP_MODE_H_ | |
Michael Starzinger
2016/09/06 08:05:38
nit: Let's call the file "liveedit-frame-drop-mode
marja
2016/09/06 08:24:07
Moved to globals.h
| |
6 #define V8_DEBUG_LIVEEDIT_FRAME_DROP_MODE_H_ | |
7 | |
8 namespace v8 { | |
9 namespace internal { | |
10 | |
11 // Describes how exactly a frame has been dropped from stack. | |
12 enum LiveEditFrameDropMode { | |
13 // No frame has been dropped. | |
14 LIVE_EDIT_FRAMES_UNTOUCHED, | |
15 // The top JS frame had been calling debug break slot stub. Patch the | |
16 // address this stub jumps to in the end. | |
17 LIVE_EDIT_FRAME_DROPPED_IN_DEBUG_SLOT_CALL, | |
18 // The top JS frame had been calling some C++ function. The return address | |
19 // gets patched automatically. | |
20 LIVE_EDIT_FRAME_DROPPED_IN_DIRECT_CALL, | |
21 LIVE_EDIT_FRAME_DROPPED_IN_RETURN_CALL, | |
22 LIVE_EDIT_CURRENTLY_SET_MODE | |
23 }; | |
24 | |
25 } // namespace internal | |
26 } // namespace v8 | |
27 | |
28 #endif // V8_DEBUG_LIVEEDIT_FRAME_DROP_MODE_H_ | |
OLD | NEW |