Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/debug/debug.h

Issue 2650943011: [debug] remove StepFrame (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_DEBUG_H_ 5 #ifndef V8_DEBUG_DEBUG_H_
6 #define V8_DEBUG_DEBUG_H_ 6 #define V8_DEBUG_DEBUG_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 22 matching lines...) Expand all
33 class DebugScope; 33 class DebugScope;
34 34
35 35
36 // Step actions. NOTE: These values are in macros.py as well. 36 // Step actions. NOTE: These values are in macros.py as well.
37 enum StepAction : int8_t { 37 enum StepAction : int8_t {
38 StepNone = -1, // Stepping not prepared. 38 StepNone = -1, // Stepping not prepared.
39 StepOut = 0, // Step out of the current function. 39 StepOut = 0, // Step out of the current function.
40 StepNext = 1, // Step to the next statement in the current function. 40 StepNext = 1, // Step to the next statement in the current function.
41 StepIn = 2, // Step into new functions invoked or the next statement 41 StepIn = 2, // Step into new functions invoked or the next statement
42 // in the current function. 42 // in the current function.
43 StepFrame = 3, // Step into a new frame or return to previous frame. 43 LastStepAction = StepIn
44
45 LastStepAction = StepFrame
46 }; 44 };
47 45
48 // Type of exception break. NOTE: These values are in macros.py as well. 46 // Type of exception break. NOTE: These values are in macros.py as well.
49 enum ExceptionBreakType { 47 enum ExceptionBreakType {
50 BreakException = 0, 48 BreakException = 0,
51 BreakUncaughtException = 1 49 BreakUncaughtException = 1
52 }; 50 };
53 51
54 52
55 // Type of exception break. 53 // Type of exception break.
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 Handle<Code> code); 757 Handle<Code> code);
760 static bool DebugBreakSlotIsPatched(Address pc); 758 static bool DebugBreakSlotIsPatched(Address pc);
761 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 759 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
762 }; 760 };
763 761
764 762
765 } // namespace internal 763 } // namespace internal
766 } // namespace v8 764 } // namespace v8
767 765
768 #endif // V8_DEBUG_DEBUG_H_ 766 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/debug/debug.cc » ('j') | src/debug/debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698