| Index: test/cctest/test-debug.cc
|
| diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc
|
| index b22092a2632b9fa7635ba9f57fef327650c72db7..f1a66f9b93109e3dfb6b783292c6c0d88f574491 100644
|
| --- a/test/cctest/test-debug.cc
|
| +++ b/test/cctest/test-debug.cc
|
| @@ -508,7 +508,7 @@ void CheckDebugBreakFunction(DebugLocalContext* env,
|
| Handle<v8::internal::SharedFunctionInfo> shared(fun->shared());
|
| CHECK(Debug::HasDebugInfo(shared));
|
| TestBreakLocationIterator it1(Debug::GetDebugInfo(shared));
|
| - it1.FindBreakLocationFromPosition(position);
|
| + it1.FindBreakLocationFromPosition(position, true);
|
| v8::internal::RelocInfo::Mode actual_mode = it1.it()->rinfo()->rmode();
|
| if (actual_mode == v8::internal::RelocInfo::CODE_TARGET_WITH_ID) {
|
| actual_mode = v8::internal::RelocInfo::CODE_TARGET;
|
| @@ -527,7 +527,7 @@ void CheckDebugBreakFunction(DebugLocalContext* env,
|
| CHECK(!debug->HasDebugInfo(shared));
|
| CHECK(debug->EnsureDebugInfo(shared, fun));
|
| TestBreakLocationIterator it2(Debug::GetDebugInfo(shared));
|
| - it2.FindBreakLocationFromPosition(position);
|
| + it2.FindBreakLocationFromPosition(position, true);
|
| actual_mode = it2.it()->rinfo()->rmode();
|
| if (actual_mode == v8::internal::RelocInfo::CODE_TARGET_WITH_ID) {
|
| actual_mode = v8::internal::RelocInfo::CODE_TARGET;
|
|
|