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

Side by Side Diff: src/debug.h

Issue 11821049: Combine DEBUG_BREAK and DEBUG_PREPARE_STEP_IN into one IC stub kind DEBUG_STUB, encoding DEBUG_BREA… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/builtins.h ('k') | src/debug.cc » ('j') | src/liveedit.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 }; 72 };
73 73
74 74
75 // Type of exception break. NOTE: These values are in macros.py as well. 75 // Type of exception break. NOTE: These values are in macros.py as well.
76 enum BreakLocatorType { 76 enum BreakLocatorType {
77 ALL_BREAK_LOCATIONS = 0, 77 ALL_BREAK_LOCATIONS = 0,
78 SOURCE_BREAK_LOCATIONS = 1 78 SOURCE_BREAK_LOCATIONS = 1
79 }; 79 };
80 80
81 81
82 enum DebugExtraICState {
83 DEBUG_BREAK,
84 DEBUG_PREPARE_STEP_IN
85 };
86
87
82 // Class for iterating through the break points in a function and changing 88 // Class for iterating through the break points in a function and changing
83 // them. 89 // them.
84 class BreakLocationIterator { 90 class BreakLocationIterator {
85 public: 91 public:
86 explicit BreakLocationIterator(Handle<DebugInfo> debug_info, 92 explicit BreakLocationIterator(Handle<DebugInfo> debug_info,
87 BreakLocatorType type); 93 BreakLocatorType type);
88 virtual ~BreakLocationIterator(); 94 virtual ~BreakLocationIterator();
89 95
90 void Next(); 96 void Next();
91 void Next(int count); 97 void Next(int count);
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 1047
1042 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1048 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1043 }; 1049 };
1044 1050
1045 1051
1046 } } // namespace v8::internal 1052 } } // namespace v8::internal
1047 1053
1048 #endif // ENABLE_DEBUGGER_SUPPORT 1054 #endif // ENABLE_DEBUGGER_SUPPORT
1049 1055
1050 #endif // V8_DEBUG_H_ 1056 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/debug.cc » ('j') | src/liveedit.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698