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 6847ef7eeabdb08b15fc6196f273f1b277af5506..8fe69168f7e29afd2a1c98d75aa4d12d492e677d 100644 |
--- a/test/cctest/test-log-stack-tracer.cc |
+++ b/test/cctest/test-log-stack-tracer.cc |
@@ -214,7 +214,8 @@ static bool IsAddressWithinFuncCode(const char* func_name, Address addr) { |
// from the calling function. When this function runs, the stack contains |
// a C_Entry frame and a Construct frame above the calling function's frame. |
static v8::Handle<Value> construct_call(const v8::Arguments& args) { |
- i::StackFrameIterator frame_iterator; |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); |
+ i::StackFrameIterator frame_iterator(isolate); |
CHECK(frame_iterator.frame()->is_exit()); |
frame_iterator.Advance(); |
CHECK(frame_iterator.frame()->is_construct()); |