Chromium Code Reviews| Index: src/liveedit.cc |
| diff --git a/src/liveedit.cc b/src/liveedit.cc |
| index a981f47b128d6bcee141989d026e087f7e46be12..dc6f353e99c5135d283a8ecf2997b4dff5126688 100644 |
| --- a/src/liveedit.cc |
| +++ b/src/liveedit.cc |
| @@ -1663,7 +1663,8 @@ static const char* DropFrames(Vector<StackFrame*> frames, |
| Code* pre_top_frame_code = pre_top_frame->LookupCode(); |
| bool frame_has_padding; |
| if (pre_top_frame_code->is_inline_cache_stub() && |
| - pre_top_frame_code->ic_state() == DEBUG_BREAK) { |
| + pre_top_frame_code->ic_state() == DEBUG_STUB && |
| + pre_top_frame_code->extra_ic_state() == DEBUG_BREAK) { |
|
Yang
2013/01/10 14:06:47
maybe introduce a is_debug_break() predicate to sh
|
| // OK, we can drop inline cache calls. |
| *mode = Debug::FRAME_DROPPED_IN_IC_CALL; |
| frame_has_padding = Debug::FramePaddingLayout::kIsSupported; |