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 a4bd2ed0dd0b36e045e902b9cb7e88a2382f3671..09257bcda26cfa3b79bf81a151d17e1bd06791c3 100644 |
--- a/test/cctest/test-log-stack-tracer.cc |
+++ b/test/cctest/test-log-stack-tracer.cc |
@@ -81,9 +81,8 @@ 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) { |
+ if (frame_iterator.frame()->type() == i::StackFrame::STUB) { |
// Skip over bytecode handler frame. |
- CHECK(frame_iterator.frame()->type() == i::StackFrame::STUB); |
frame_iterator.Advance(); |
} |
i::StackFrame* calling_frame = frame_iterator.frame(); |