OLD | NEW |
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 int break_point_; | 116 int break_point_; |
117 int position_; | 117 int position_; |
118 int statement_position_; | 118 int statement_position_; |
119 Handle<DebugInfo> debug_info_; | 119 Handle<DebugInfo> debug_info_; |
120 RelocIterator* reloc_iterator_; | 120 RelocIterator* reloc_iterator_; |
121 RelocIterator* reloc_iterator_original_; | 121 RelocIterator* reloc_iterator_original_; |
122 | 122 |
123 private: | 123 private: |
124 void SetDebugBreak(); | 124 void SetDebugBreak(); |
125 void ClearDebugBreak(); | 125 void ClearDebugBreak(); |
| 126 bool IsDebugBreakAtReturn(); |
| 127 void SetDebugBreakAtReturn(); |
| 128 void ClearDebugBreakAtReturn(); |
126 | 129 |
127 DISALLOW_COPY_AND_ASSIGN(BreakLocationIterator); | 130 DISALLOW_COPY_AND_ASSIGN(BreakLocationIterator); |
128 }; | 131 }; |
129 | 132 |
130 | 133 |
131 // Linked list holding debug info objects. The debug info objects are kept as | 134 // Linked list holding debug info objects. The debug info objects are kept as |
132 // weak handles to avoid a debug info object to keep a function alive. | 135 // weak handles to avoid a debug info object to keep a function alive. |
133 class DebugInfoListNode { | 136 class DebugInfoListNode { |
134 public: | 137 public: |
135 explicit DebugInfoListNode(DebugInfo* debug_info); | 138 explicit DebugInfoListNode(DebugInfo* debug_info); |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 } | 600 } |
598 private: | 601 private: |
599 Debug::AddressId id_; | 602 Debug::AddressId id_; |
600 int reg_; | 603 int reg_; |
601 }; | 604 }; |
602 | 605 |
603 | 606 |
604 } } // namespace v8::internal | 607 } } // namespace v8::internal |
605 | 608 |
606 #endif // V8_V8_DEBUG_H_ | 609 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |