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

Side by Side Diff: src/debug.h

Issue 942003002: Fix GC-unsafe use of BreakLocationIterator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void FindBreakLocationFromAddress(Address pc); 79 void FindBreakLocationFromAddress(Address pc);
80 void FindBreakLocationFromPosition(int position, 80 void FindBreakLocationFromPosition(int position,
81 BreakPositionAlignment alignment); 81 BreakPositionAlignment alignment);
82 void Reset(); 82 void Reset();
83 bool Done() const; 83 bool Done() const;
84 void SetBreakPoint(Handle<Object> break_point_object); 84 void SetBreakPoint(Handle<Object> break_point_object);
85 void ClearBreakPoint(Handle<Object> break_point_object); 85 void ClearBreakPoint(Handle<Object> break_point_object);
86 void SetOneShot(); 86 void SetOneShot();
87 void ClearOneShot(); 87 void ClearOneShot();
88 bool IsStepInLocation(Isolate* isolate); 88 bool IsStepInLocation(Isolate* isolate);
89 void PrepareStepIn(Isolate* isolate);
90 bool IsExit() const; 89 bool IsExit() const;
91 bool HasBreakPoint(); 90 bool HasBreakPoint();
92 bool IsDebugBreak(); 91 bool IsDebugBreak();
93 Object* BreakPointObjects(); 92 Object* BreakPointObjects();
94 void ClearAllDebugBreak(); 93 void ClearAllDebugBreak();
95 94
96 95
97 inline int code_position() { 96 inline int code_position() {
98 return static_cast<int>(pc() - debug_info_->code()->entry()); 97 return static_cast<int>(pc() - debug_info_->code()->entry());
99 } 98 }
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 // several frames above. 766 // several frames above.
768 // There is no calling conventions here, because it never actually gets 767 // There is no calling conventions here, because it never actually gets
769 // called, it only gets returned to. 768 // called, it only gets returned to.
770 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); 769 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm);
771 }; 770 };
772 771
773 772
774 } } // namespace v8::internal 773 } } // namespace v8::internal
775 774
776 #endif // V8_DEBUG_H_ 775 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698