Index: test/cctest/test-deoptimization.cc |
diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc |
index 543af9904b81819aecf8655436f54f57f5168860..e6604a379e4530cf8b75df3355bd8c569efed314 100644 |
--- a/test/cctest/test-deoptimization.cc |
+++ b/test/cctest/test-deoptimization.cc |
@@ -117,7 +117,7 @@ static Handle<JSFunction> GetJSFunction(v8::Handle<v8::Object> obj, |
const char* property_name) { |
v8::Local<v8::Function> fun = |
v8::Local<v8::Function>::Cast(obj->Get(v8_str(property_name))); |
- return v8::Utils::OpenHandle(*fun); |
+ return i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*fun)); |
} |