Index: test/cctest/compiler/test-linkage.cc |
diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc |
index 29da5890eaf476cf7db66171b77a18e99516e01f..efbf50a98768bd7934c95d0995af33369bfcb786 100644 |
--- a/test/cctest/compiler/test-linkage.cc |
+++ b/test/cctest/compiler/test-linkage.cc |
@@ -56,8 +56,9 @@ TEST(TestLinkageJSFunctionIncoming) { |
for (int i = 0; i < 3; i++) { |
HandleAndZoneScope handles; |
- Handle<JSFunction> function = v8::Utils::OpenHandle( |
- *v8::Handle<v8::Function>::Cast(CompileRun(sources[i]))); |
+ Handle<JSFunction> function = |
+ Handle<JSFunction>::cast(v8::Utils::OpenHandle( |
+ *v8::Handle<v8::Function>::Cast(CompileRun(sources[i])))); |
ParseInfo parse_info(handles.main_zone(), function); |
CompilationInfo info(&parse_info); |
CallDescriptor* descriptor = Linkage::ComputeIncoming(info.zone(), &info); |