| Index: test/cctest/test-debug.cc
|
| ===================================================================
|
| --- test/cctest/test-debug.cc (revision 7663)
|
| +++ test/cctest/test-debug.cc (working copy)
|
| @@ -501,11 +501,7 @@
|
| CHECK(Debug::HasDebugInfo(shared));
|
| TestBreakLocationIterator it1(Debug::GetDebugInfo(shared));
|
| 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;
|
| - }
|
| - CHECK_EQ(mode, actual_mode);
|
| + CHECK_EQ(mode, it1.it()->rinfo()->rmode());
|
| if (mode != v8::internal::RelocInfo::JS_RETURN) {
|
| CHECK_EQ(debug_break,
|
| Code::GetCodeFromTargetAddress(it1.it()->rinfo()->target_address()));
|
| @@ -520,11 +516,7 @@
|
| CHECK(debug->EnsureDebugInfo(shared));
|
| TestBreakLocationIterator it2(Debug::GetDebugInfo(shared));
|
| 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;
|
| - }
|
| - CHECK_EQ(mode, actual_mode);
|
| + CHECK_EQ(mode, it2.it()->rinfo()->rmode());
|
| if (mode == v8::internal::RelocInfo::JS_RETURN) {
|
| CHECK(!Debug::IsDebugBreakAtReturn(it2.it()->rinfo()));
|
| }
|
|
|