Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index d9fb716ab26b2756300b4deb274de9a062427b4d..bb2b6c4d1e560a915ae4fb3d7309f61797bf0a5d 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -250,10 +250,6 @@ SharedFunctionInfo* IC::GetSharedFunctionInfo() const { |
// corresponding to the frame. |
StackFrameIterator it(isolate()); |
while (it.frame()->fp() != this->fp()) it.Advance(); |
- if (it.frame()->type() == StackFrame::STUB) { |
- // We might need to advance over bytecode handler frame for Ignition. |
- it.Advance(); |
- } |
JavaScriptFrame* frame = JavaScriptFrame::cast(it.frame()); |
// Find the function on the stack and both the active code for the |
// function and the original code. |