Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index 105ecf1811a9b04fc383126b3d175e8eca2093af..2f7e7f4e7d563b443a2cbb96de6cf500df85f79f 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -464,7 +464,8 @@ THREADED_TEST(StackIteration) { |
LocalContext env; |
v8::HandleScope scope(env->GetIsolate()); |
v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); |
- i::StringStream::ClearMentionedObjectCache(); |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(env->GetIsolate()); |
+ i::StringStream::ClearMentionedObjectCache(isolate); |
obj->SetAccessor(v8_str("xxx"), StackCheck); |
env->Global()->Set(v8_str("obj"), obj->NewInstance()); |
Script::Compile(String::New( |