Index: test/cctest/compiler/test-run-deopt.cc |
diff --git a/test/cctest/compiler/test-run-deopt.cc b/test/cctest/compiler/test-run-deopt.cc |
index 28d3cd89e256b7388e677e5542d8cf8da5709581..71883e2bddebd55ed5299f2135acf4db2d01f895 100644 |
--- a/test/cctest/compiler/test-run-deopt.cc |
+++ b/test/cctest/compiler/test-run-deopt.cc |
@@ -7,13 +7,12 @@ |
#include "test/cctest/cctest.h" |
#include "test/cctest/compiler/function-tester.h" |
-using namespace v8; |
using namespace v8::internal; |
using namespace v8::internal::compiler; |
#if V8_TURBOFAN_TARGET |
-static void IsOptimized(const FunctionCallbackInfo<v8::Value>& args) { |
+static void IsOptimized(const v8::FunctionCallbackInfo<v8::Value>& args) { |
JavaScriptFrameIterator it(CcTest::i_isolate()); |
JavaScriptFrame* frame = it.frame(); |
return args.GetReturnValue().Set(frame->is_optimized()); |
@@ -21,8 +20,9 @@ static void IsOptimized(const FunctionCallbackInfo<v8::Value>& args) { |
static void InstallIsOptimizedHelper(v8::Isolate* isolate) { |
- Local<v8::Context> context = isolate->GetCurrentContext(); |
- Local<v8::FunctionTemplate> t = FunctionTemplate::New(isolate, IsOptimized); |
+ v8::Local<v8::Context> context = isolate->GetCurrentContext(); |
+ v8::Local<v8::FunctionTemplate> t = |
+ v8::FunctionTemplate::New(isolate, IsOptimized); |
context->Global()->Set(v8_str("IsOptimized"), t->GetFunction()); |
} |