Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index adf1f7162a7a7ae88c3506f05ba4a8195506580c..1b7b4dfaca0dadd57b02a097694ce1a512ec900f 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -1638,7 +1638,7 @@ static const char* DropFrames(Vector<StackFrame*> frames, |
isolate->builtins()->builtin(Builtins::kReturn_DebugBreak)) { |
*mode = LiveEdit::FRAME_DROPPED_IN_RETURN_CALL; |
} else if (pre_top_frame_code->kind() == Code::STUB && |
- pre_top_frame_code->major_key() == CodeStub::CEntry) { |
+ CodeStub::GetMajorKey(pre_top_frame_code) == CodeStub::CEntry) { |
// Entry from our unit tests on 'debugger' statement. |
// It's fine, we support this case. |
*mode = LiveEdit::FRAME_DROPPED_IN_DIRECT_CALL; |