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

Side by Side Diff: src/debug.h

Issue 1157543004: Debugger: PreservePositionScope should clear positions inside the scope. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: only break at inline caches if it owns a statement position. Created 5 years, 6 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
« no previous file with comments | « src/assembler.h ('k') | src/debug.cc » ('j') | no next file with comments »
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 // 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_H_ 5 #ifndef V8_DEBUG_H_
6 #define V8_DEBUG_H_ 6 #define V8_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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 bool RinfoDone() const; 179 bool RinfoDone() const;
180 void RinfoNext(); 180 void RinfoNext();
181 181
182 Handle<DebugInfo> debug_info_; 182 Handle<DebugInfo> debug_info_;
183 BreakLocatorType type_; 183 BreakLocatorType type_;
184 RelocIterator reloc_iterator_; 184 RelocIterator reloc_iterator_;
185 RelocIterator reloc_iterator_original_; 185 RelocIterator reloc_iterator_original_;
186 int break_index_; 186 int break_index_;
187 int position_; 187 int position_;
188 int statement_position_; 188 int statement_position_;
189 bool has_immediate_position_;
189 190
190 DisallowHeapAllocation no_gc_; 191 DisallowHeapAllocation no_gc_;
191 192
192 DISALLOW_COPY_AND_ASSIGN(Iterator); 193 DISALLOW_COPY_AND_ASSIGN(Iterator);
193 }; 194 };
194 195
195 friend class Debug; 196 friend class Debug;
196 197
197 static int BreakIndexFromAddress(Handle<DebugInfo> debug_info, 198 static int BreakIndexFromAddress(Handle<DebugInfo> debug_info,
198 BreakLocatorType type, Address pc); 199 BreakLocatorType type, Address pc);
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 // several frames above. 831 // several frames above.
831 // There is no calling conventions here, because it never actually gets 832 // There is no calling conventions here, because it never actually gets
832 // called, it only gets returned to. 833 // called, it only gets returned to.
833 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); 834 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm);
834 }; 835 };
835 836
836 837
837 } } // namespace v8::internal 838 } } // namespace v8::internal
838 839
839 #endif // V8_DEBUG_H_ 840 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698