Index: test/cctest/compiler/test-run-bytecode-graph-builder.cc |
diff --git a/test/cctest/compiler/test-run-bytecode-graph-builder.cc b/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
index 06cb2f754f385bf76921bc0e411354fb7dce5abd..9d53766142369eee3ea336463932c5e5f7efff00 100644 |
--- a/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
+++ b/test/cctest/compiler/test-run-bytecode-graph-builder.cc |
@@ -89,7 +89,8 @@ class BytecodeGraphTester { |
CompileRun(script_); |
Local<Function> api_function = |
Local<Function>::Cast(CcTest::global()->Get(v8_str(kFunctionName))); |
- Handle<JSFunction> function = v8::Utils::OpenHandle(*api_function); |
+ Handle<JSFunction> function = |
+ Handle<JSFunction>::cast(v8::Utils::OpenHandle(*api_function)); |
CHECK(function->shared()->HasBytecodeArray()); |
ParseInfo parse_info(zone_, function); |