Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index d44503534fb6b5b4479fd2b37e2d763bfde4f9c5..72f598b4bdb1beb68d75c0e57a7a8f7007594e62 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -398,7 +398,7 @@ THREADED_TEST(Gc) { |
static v8::Handle<Value> StackCheck(Local<String> name, |
const AccessorInfo& info) { |
- i::StackFrameIterator iter; |
+ i::StackFrameIterator iter(reinterpret_cast<i::Isolate*>(info.GetIsolate())); |
for (int i = 0; !iter.done(); i++) { |
i::StackFrame* frame = iter.frame(); |
CHECK(i != 0 || (frame->type() == i::StackFrame::EXIT)); |