Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 48c5519f791418a2aa12a55762e40e63e632a3db..ec25acc3a16ae880b58163a9ee5fda93129f8b3e 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -261,8 +261,12 @@ void BreakLocationIterator::Reset() { |
// Create relocation iterators for the two code objects. |
if (reloc_iterator_ != NULL) delete reloc_iterator_; |
if (reloc_iterator_original_ != NULL) delete reloc_iterator_original_; |
- reloc_iterator_ = new RelocIterator(debug_info_->code()); |
- reloc_iterator_original_ = new RelocIterator(debug_info_->original_code()); |
+ reloc_iterator_ = new RelocIterator( |
+ debug_info_->code(), |
+ ~RelocInfo::ModeMask(RelocInfo::CODE_AGE_SEQUENCE)); |
+ reloc_iterator_original_ = new RelocIterator( |
+ debug_info_->original_code(), |
+ ~RelocInfo::ModeMask(RelocInfo::CODE_AGE_SEQUENCE)); |
// Position at the first break point. |
break_point_ = -1; |