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

Side by Side Diff: src/debug.h

Issue 195015: Support stepping into CallFunction stubs (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 3 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 | « 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 inline RelocInfo::Mode rmode() const { 112 inline RelocInfo::Mode rmode() const {
113 return reloc_iterator_->rinfo()->rmode(); 113 return reloc_iterator_->rinfo()->rmode();
114 } 114 }
115 inline RelocInfo* original_rinfo() { 115 inline RelocInfo* original_rinfo() {
116 return reloc_iterator_original_->rinfo(); 116 return reloc_iterator_original_->rinfo();
117 } 117 }
118 inline RelocInfo::Mode original_rmode() const { 118 inline RelocInfo::Mode original_rmode() const {
119 return reloc_iterator_original_->rinfo()->rmode(); 119 return reloc_iterator_original_->rinfo()->rmode();
120 } 120 }
121 121
122 bool IsDebuggerStatement();
123
122 protected: 124 protected:
123 bool RinfoDone() const; 125 bool RinfoDone() const;
124 void RinfoNext(); 126 void RinfoNext();
125 127
126 BreakLocatorType type_; 128 BreakLocatorType type_;
127 int break_point_; 129 int break_point_;
128 int position_; 130 int position_;
129 int statement_position_; 131 int statement_position_;
130 Handle<DebugInfo> debug_info_; 132 Handle<DebugInfo> debug_info_;
133 Handle<Code> debug_break_stub_;
131 RelocIterator* reloc_iterator_; 134 RelocIterator* reloc_iterator_;
132 RelocIterator* reloc_iterator_original_; 135 RelocIterator* reloc_iterator_original_;
133 136
134 private: 137 private:
135 void SetDebugBreak(); 138 void SetDebugBreak();
136 void ClearDebugBreak(); 139 void ClearDebugBreak();
137 140
138 void SetDebugBreakAtIC(); 141 void SetDebugBreakAtIC();
139 void ClearDebugBreakAtIC(); 142 void ClearDebugBreakAtIC();
140 143
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 Debug::AddressId id_; 853 Debug::AddressId id_;
851 int reg_; 854 int reg_;
852 }; 855 };
853 856
854 857
855 } } // namespace v8::internal 858 } } // namespace v8::internal
856 859
857 #endif // ENABLE_DEBUGGER_SUPPORT 860 #endif // ENABLE_DEBUGGER_SUPPORT
858 861
859 #endif // V8_DEBUG_H_ 862 #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