Index: test/cctest/interpreter/test-bytecode-generator.cc |
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc |
index aa77d417aacd46cac67744461e7b6b7d74a758fb..f36a9e9cda75468a4ac110dd13dcf1f1086f09f3 100644 |
--- a/test/cctest/interpreter/test-bytecode-generator.cc |
+++ b/test/cctest/interpreter/test-bytecode-generator.cc |
@@ -51,7 +51,8 @@ class BytecodeGeneratorHelper { |
CompileRun(script); |
Local<Function> function = |
Local<Function>::Cast(CcTest::global()->Get(v8_str(function_name))); |
- i::Handle<i::JSFunction> js_function = v8::Utils::OpenHandle(*function); |
+ i::Handle<i::JSFunction> js_function = |
+ i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*function)); |
return handle(js_function->shared()->bytecode_array(), CcTest::i_isolate()); |
} |