| Index: test/cctest/compiler/test-linkage.cc
|
| diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc
|
| index efbf50a98768bd7934c95d0995af33369bfcb786..445c7c1cacbb45d7a5d231205a86d7d6d4c2688e 100644
|
| --- a/test/cctest/compiler/test-linkage.cc
|
| +++ b/test/cctest/compiler/test-linkage.cc
|
| @@ -2,6 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +// TODO(jochen): Remove this after the setting is turned on globally.
|
| +#define V8_IMMINENT_DEPRECATION_WARNINGS
|
| +
|
| #include "src/v8.h"
|
|
|
| #include "src/code-stubs.h"
|
| @@ -58,7 +61,7 @@ TEST(TestLinkageJSFunctionIncoming) {
|
| HandleAndZoneScope handles;
|
| Handle<JSFunction> function =
|
| Handle<JSFunction>::cast(v8::Utils::OpenHandle(
|
| - *v8::Handle<v8::Function>::Cast(CompileRun(sources[i]))));
|
| + *v8::Local<v8::Function>::Cast(CompileRun(sources[i]))));
|
| ParseInfo parse_info(handles.main_zone(), function);
|
| CompilationInfo info(&parse_info);
|
| CallDescriptor* descriptor = Linkage::ComputeIncoming(info.zone(), &info);
|
|
|