Index: test/cctest/compiler/test-pipeline.cc |
diff --git a/test/cctest/compiler/test-pipeline.cc b/test/cctest/compiler/test-pipeline.cc |
index 6e8c8f0055f6681c584d724855acade43cf3f4db..a11b1e793a93550f5a35ce0adf4b38babdcc8df6 100644 |
--- a/test/cctest/compiler/test-pipeline.cc |
+++ b/test/cctest/compiler/test-pipeline.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 "test/cctest/cctest.h" |
@@ -15,7 +18,7 @@ using namespace v8::internal::compiler; |
static void RunPipeline(Zone* zone, const char* source) { |
Handle<JSFunction> function = Handle<JSFunction>::cast(v8::Utils::OpenHandle( |
- *v8::Handle<v8::Function>::Cast(CompileRun(source)))); |
+ *v8::Local<v8::Function>::Cast(CompileRun(source)))); |
ParseInfo parse_info(zone, function); |
CHECK(Compiler::ParseAndAnalyze(&parse_info)); |
CompilationInfo info(&parse_info); |