Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 7493673e8191f68e74fcbb6b465591897d832b3b..75533c83117eb6fbf05365586bf88e3761d09814 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -350,12 +350,8 @@ void RelocIterator::next() { |
Advance(); |
// Check if we want source positions. |
if (mode_mask_ & RelocInfo::kPositionMask) { |
- // Check if we want this type of source position. |
- if (SetMode(DebugInfoModeFromTag(GetPositionTypeTag()))) { |
- // Finally read the data before returning. |
- ReadTaggedData(); |
- return; |
- } |
+ ReadTaggedData(); |
+ if (SetMode(DebugInfoModeFromTag(GetPositionTypeTag()))) return; |
} |
} else { |
ASSERT(tag == kDefaultTag); |