Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 788f7af43777547a665efb1154c1044f18b4d7d1..617e692391684d2a5f313eaba5e8fdf726d2ae64 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -509,7 +509,7 @@ void CheckDebugBreakFunction(DebugLocalContext* env, |
Handle<v8::internal::SharedFunctionInfo> shared(fun->shared()); |
CHECK(Debug::HasDebugInfo(shared)); |
TestBreakLocationIterator it1(Debug::GetDebugInfo(shared)); |
- it1.FindBreakLocationFromPosition(position, v8::internal::STATEMENT_ALIGNED); |
+ it1.FindBreakLocationFromPosition(position); |
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; |
@@ -528,7 +528,7 @@ void CheckDebugBreakFunction(DebugLocalContext* env, |
CHECK(!debug->HasDebugInfo(shared)); |
CHECK(debug->EnsureDebugInfo(shared, fun)); |
TestBreakLocationIterator it2(Debug::GetDebugInfo(shared)); |
- it2.FindBreakLocationFromPosition(position, v8::internal::STATEMENT_ALIGNED); |
+ it2.FindBreakLocationFromPosition(position); |
actual_mode = it2.it()->rinfo()->rmode(); |
if (actual_mode == v8::internal::RelocInfo::CODE_TARGET_WITH_ID) { |
actual_mode = v8::internal::RelocInfo::CODE_TARGET; |