| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index b75e73b5fa1f70dd9e8cd4139834448eb26cf627..2e13826396666d55ae6e2c44e0cf6ec46e48e7b5 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -242,9 +242,8 @@ SharedFunctionInfo* IC::GetSharedFunctionInfo() const {
|
| // corresponding to the frame.
|
| StackFrameIterator it(isolate());
|
| while (it.frame()->fp() != this->fp()) it.Advance();
|
| - if (FLAG_ignition && it.frame()->type() == StackFrame::STUB) {
|
| - // Advance over bytecode handler frame.
|
| - // TODO(rmcilroy): Remove this once bytecode handlers don't need a frame.
|
| + 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());
|
|
|