Index: test/cctest/test-log-stack-tracer.cc |
diff --git a/test/cctest/test-log-stack-tracer.cc b/test/cctest/test-log-stack-tracer.cc |
index 7254ee084fb0ccf8f8b586ca0538e9f8f127f94f..b5002607063c5260e62ebb0f435836cab541a1b9 100644 |
--- a/test/cctest/test-log-stack-tracer.cc |
+++ b/test/cctest/test-log-stack-tracer.cc |
@@ -83,6 +83,11 @@ static void construct_call(const v8::FunctionCallbackInfo<v8::Value>& args) { |
frame_iterator.Advance(); |
CHECK(frame_iterator.frame()->is_construct()); |
frame_iterator.Advance(); |
+ if (i::FLAG_ignition) { |
+ // Skip over bytecode handler frame. |
+ CHECK(frame_iterator.frame()->type() == i::StackFrame::STUB); |
+ frame_iterator.Advance(); |
+ } |
i::StackFrame* calling_frame = frame_iterator.frame(); |
CHECK(calling_frame->is_java_script()); |