Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 3ca77b8374dea5cbb6b9930aae8b0e902e53cf9a..9bbb1ad695c6adb0ba318f97e00ff766027334ac 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2760,13 +2760,13 @@ Deoptimizer::DeoptInfo Deoptimizer::GetDeoptInfo(Code* code, Address pc) { |
int last_deopt_id = Deoptimizer::DeoptInfo::kNoDeoptId; |
int mask = RelocInfo::ModeMask(RelocInfo::DEOPT_REASON) | |
RelocInfo::ModeMask(RelocInfo::DEOPT_ID) | |
- RelocInfo::ModeMask(RelocInfo::POSITION); |
+ RelocInfo::ModeMask(RelocInfo::DEOPT_POSITION); |
for (RelocIterator it(code, mask); !it.done(); it.next()) { |
RelocInfo* info = it.rinfo(); |
if (info->pc() >= pc) { |
return DeoptInfo(last_position, last_reason, last_deopt_id); |
} |
- if (info->rmode() == RelocInfo::POSITION) { |
+ if (info->rmode() == RelocInfo::DEOPT_POSITION) { |
int raw_position = static_cast<int>(info->data()); |
last_position = raw_position ? SourcePosition::FromRaw(raw_position) |
: SourcePosition::Unknown(); |