| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index c43a1ab327c5e4952f454b2bb5d20f070e1fcb30..8faed904b0d25819e387a2516d906195bf92290a 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -9887,7 +9887,7 @@ static MaybeObject* Runtime_GetFunctionCodePositionFromSource(Arguments args) {
|
|
|
| Handle<Code> code(function->code());
|
|
|
| - RelocIterator it(*code, 1 << RelocInfo::STATEMENT_POSITION);
|
| + RelocIterator it(*code, RelocInfo::ModeMask(RelocInfo::STATEMENT_POSITION));
|
| int closest_pc = 0;
|
| int distance = kMaxInt;
|
| while (!it.done()) {
|
|
|