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 e38d74e1bd68993aec479bf5046bc487dd763126..1961377235b262317c7e898518777a3ed1b128b3 100644 |
--- a/test/cctest/test-log-stack-tracer.cc |
+++ b/test/cctest/test-log-stack-tracer.cc |
@@ -79,7 +79,8 @@ static bool IsAddressWithinFuncCode(v8::Local<v8::Context> context, |
static void construct_call(const v8::FunctionCallbackInfo<v8::Value>& args) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); |
i::StackFrameIterator frame_iterator(isolate); |
- CHECK(frame_iterator.frame()->is_exit()); |
+ CHECK(frame_iterator.frame()->is_exit() || |
+ frame_iterator.frame()->is_builtin_exit()); |
frame_iterator.Advance(); |
CHECK(frame_iterator.frame()->is_construct()); |
frame_iterator.Advance(); |