| Index: src/debug.cc
|
| ===================================================================
|
| --- src/debug.cc (revision 7619)
|
| +++ src/debug.cc (working copy)
|
| @@ -477,21 +477,6 @@
|
| // calling convention used by the call site.
|
| Handle<Code> dbgbrk_code(Debug::FindDebugBreak(code, mode));
|
| rinfo()->set_target_address(dbgbrk_code->entry());
|
| -
|
| - // For stubs that refer back to an inlined version clear the cached map for
|
| - // the inlined case to always go through the IC. As long as the break point
|
| - // is set the patching performed by the runtime system will take place in
|
| - // the code copy and will therefore have no effect on the running code
|
| - // keeping it from using the inlined code.
|
| - if (code->is_keyed_load_stub()) {
|
| - KeyedLoadIC::ClearInlinedVersion(pc());
|
| - } else if (code->is_keyed_store_stub()) {
|
| - KeyedStoreIC::ClearInlinedVersion(pc());
|
| - } else if (code->is_load_stub()) {
|
| - LoadIC::ClearInlinedVersion(pc());
|
| - } else if (code->is_store_stub()) {
|
| - StoreIC::ClearInlinedVersion(pc());
|
| - }
|
| }
|
| }
|
|
|
| @@ -499,20 +484,6 @@
|
| void BreakLocationIterator::ClearDebugBreakAtIC() {
|
| // Patch the code to the original invoke.
|
| rinfo()->set_target_address(original_rinfo()->target_address());
|
| -
|
| - RelocInfo::Mode mode = rmode();
|
| - if (RelocInfo::IsCodeTarget(mode)) {
|
| - AssertNoAllocation nogc;
|
| - Address target = original_rinfo()->target_address();
|
| - Code* code = Code::GetCodeFromTargetAddress(target);
|
| -
|
| - // Restore the inlined version of keyed stores to get back to the
|
| - // fast case. We need to patch back the keyed store because no
|
| - // patching happens when running normally. For keyed loads, the
|
| - // map check will get patched back when running normally after ICs
|
| - // have been cleared at GC.
|
| - if (code->is_keyed_store_stub()) KeyedStoreIC::RestoreInlinedVersion(pc());
|
| - }
|
| }
|
|
|
|
|
|
|