Remove deprecated API usage from compiler cctests.
R=jochen@chromium.org Review URL: https://codereview.chromium.org/1408283006 Cr-Commit-Position: refs/heads/master@{#31630}
This commit is contained in:
parent
8eabcb3fb6
commit
4a2bb8903b
@ -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/basic-block-profiler.h"
|
||||
|
@ -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"
|
||||
|
@ -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 <limits>
|
||||
|
||||
#include "src/compiler/change-lowering.h"
|
||||
|
@ -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/compiler/gap-resolver.h"
|
||||
|
||||
#include "src/base/utils/random-number-generator.h"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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/assembler.h"
|
||||
|
@ -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/compiler/js-context-specialization.h"
|
||||
#include "src/compiler/js-graph.h"
|
||||
#include "src/compiler/js-operator.h"
|
||||
|
@ -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/compiler/js-graph.h"
|
||||
#include "src/compiler/js-typed-lowering.h"
|
||||
#include "src/compiler/machine-operator.h"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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/compiler/access-builder.h"
|
||||
|
@ -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/compiler/ast-loop-assignment-analyzer.h"
|
||||
#include "src/parser.h"
|
||||
#include "src/rewriter.h"
|
||||
|
@ -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 "test/cctest/cctest.h"
|
||||
|
||||
#include "src/base/utils/random-number-generator.h"
|
||||
|
@ -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 <cmath>
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
|
@ -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 <functional>
|
||||
|
||||
#include "src/v8.h"
|
||||
|
@ -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 <sstream>
|
||||
|
||||
#include "src/v8.h"
|
||||
|
@ -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/codegen.h"
|
||||
#include "src/compiler/all-nodes.h"
|
||||
#include "src/compiler/common-operator.h"
|
||||
|
@ -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);
|
||||
|
@ -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 <limits>
|
||||
|
||||
#include "src/v8.h"
|
||||
|
@ -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 <utility>
|
||||
|
||||
#include "src/v8.h"
|
||||
@ -87,8 +90,10 @@ class BytecodeGraphTester {
|
||||
|
||||
Handle<JSFunction> GetFunction() {
|
||||
CompileRun(script_);
|
||||
Local<Function> api_function =
|
||||
Local<Function>::Cast(CcTest::global()->Get(v8_str(kFunctionName)));
|
||||
Local<Function> api_function = Local<Function>::Cast(
|
||||
CcTest::global()
|
||||
->Get(CcTest::isolate()->GetCurrentContext(), v8_str(kFunctionName))
|
||||
.ToLocalChecked());
|
||||
Handle<JSFunction> function =
|
||||
Handle<JSFunction>::cast(v8::Utils::OpenHandle(*api_function));
|
||||
CHECK(function->shared()->HasBytecodeArray());
|
||||
|
@ -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/frames-inl.h"
|
||||
@ -22,7 +25,10 @@ static void InstallIsOptimizedHelper(v8::Isolate* isolate) {
|
||||
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());
|
||||
CHECK(context->Global()
|
||||
->Set(context, v8_str("IsOptimized"),
|
||||
t->GetFunction(context).ToLocalChecked())
|
||||
.FromJust());
|
||||
}
|
||||
|
||||
|
||||
|
@ -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/frames-inl.h"
|
||||
@ -30,7 +33,11 @@ void AssertInlineCount(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
||||
}
|
||||
List<JSFunction*> functions(2);
|
||||
topmost->GetFunctions(&functions);
|
||||
CHECK_EQ(args[0]->ToInt32(args.GetIsolate())->Value(), functions.length());
|
||||
CHECK_EQ(args[0]
|
||||
->ToInt32(args.GetIsolate()->GetCurrentContext())
|
||||
.ToLocalChecked()
|
||||
->Value(),
|
||||
functions.length());
|
||||
}
|
||||
|
||||
|
||||
@ -38,7 +45,10 @@ void InstallAssertInlineCountHelper(v8::Isolate* isolate) {
|
||||
v8::Local<v8::Context> context = isolate->GetCurrentContext();
|
||||
v8::Local<v8::FunctionTemplate> t =
|
||||
v8::FunctionTemplate::New(isolate, AssertInlineCount);
|
||||
context->Global()->Set(v8_str("AssertInlineCount"), t->GetFunction());
|
||||
CHECK(context->Global()
|
||||
->Set(context, v8_str("AssertInlineCount"),
|
||||
t->GetFunction(context).ToLocalChecked())
|
||||
.FromJust());
|
||||
}
|
||||
|
||||
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
@ -215,7 +218,9 @@ TEST(ContextLoadedFromActivation) {
|
||||
i::Handle<i::JSFunction> jsfun = Handle<JSFunction>::cast(ofun);
|
||||
jsfun->set_code(T.function->code());
|
||||
jsfun->set_shared(T.function->shared());
|
||||
context->Global()->Set(v8_str("foo"), v8::Utils::CallableToLocal(jsfun));
|
||||
CHECK(context->Global()
|
||||
->Set(context, v8_str("foo"), v8::Utils::CallableToLocal(jsfun))
|
||||
.FromJust());
|
||||
CompileRun("var x = 24;");
|
||||
ExpectInt32("foo();", 24);
|
||||
}
|
||||
@ -237,7 +242,9 @@ TEST(BuiltinLoadedFromActivation) {
|
||||
i::Handle<i::JSFunction> jsfun = Handle<JSFunction>::cast(ofun);
|
||||
jsfun->set_code(T.function->code());
|
||||
jsfun->set_shared(T.function->shared());
|
||||
context->Global()->Set(v8_str("foo"), v8::Utils::CallableToLocal(jsfun));
|
||||
CHECK(context->Global()
|
||||
->Set(context, v8_str("foo"), v8::Utils::CallableToLocal(jsfun))
|
||||
.FromJust());
|
||||
CompileRun("var x = 24;");
|
||||
ExpectObject("foo()", context->Global());
|
||||
}
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
@ -26,18 +29,19 @@ TEST(ThrowMessagePosition) {
|
||||
" throw 4; \n"
|
||||
"}) ";
|
||||
FunctionTester T(src);
|
||||
v8::Handle<v8::Message> message;
|
||||
v8::Local<v8::Message> message;
|
||||
v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext();
|
||||
|
||||
message = T.CheckThrowsReturnMessage(T.Val(1), T.undefined());
|
||||
CHECK_EQ(2, message->GetLineNumber());
|
||||
CHECK_EQ(2, message->GetLineNumber(context).FromMaybe(-1));
|
||||
CHECK_EQ(40, message->GetStartPosition());
|
||||
|
||||
message = T.CheckThrowsReturnMessage(T.Val(2), T.undefined());
|
||||
CHECK_EQ(3, message->GetLineNumber());
|
||||
CHECK_EQ(3, message->GetLineNumber(context).FromMaybe(-1));
|
||||
CHECK_EQ(67, message->GetStartPosition());
|
||||
|
||||
message = T.CheckThrowsReturnMessage(T.Val(3), T.undefined());
|
||||
CHECK_EQ(4, message->GetLineNumber());
|
||||
CHECK_EQ(4, message->GetLineNumber(context).FromMaybe(-1));
|
||||
CHECK_EQ(95, message->GetStartPosition());
|
||||
}
|
||||
|
||||
@ -48,13 +52,15 @@ TEST(ThrowMessageDirectly) {
|
||||
" if (a) { throw b; } else { throw new Error(b); }"
|
||||
"})";
|
||||
FunctionTester T(src);
|
||||
v8::Handle<v8::Message> message;
|
||||
v8::Local<v8::Message> message;
|
||||
v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext();
|
||||
v8::Maybe<bool> t = v8::Just(true);
|
||||
|
||||
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?"));
|
||||
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?")));
|
||||
CHECK(t == message->Get()->Equals(context, v8_str("Uncaught Error: Wat?")));
|
||||
|
||||
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!"));
|
||||
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!")));
|
||||
CHECK(t == message->Get()->Equals(context, v8_str("Uncaught Kaboom!")));
|
||||
}
|
||||
|
||||
|
||||
@ -69,13 +75,15 @@ TEST(ThrowMessageIndirectly) {
|
||||
" }"
|
||||
"})";
|
||||
FunctionTester T(src);
|
||||
v8::Handle<v8::Message> message;
|
||||
v8::Local<v8::Message> message;
|
||||
v8::Local<v8::Context> context = CcTest::isolate()->GetCurrentContext();
|
||||
v8::Maybe<bool> t = v8::Just(true);
|
||||
|
||||
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?"));
|
||||
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?")));
|
||||
CHECK(t == message->Get()->Equals(context, v8_str("Uncaught Error: Wat?")));
|
||||
|
||||
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!"));
|
||||
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!")));
|
||||
CHECK(t == message->Get()->Equals(context, v8_str("Uncaught Kaboom!")));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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 "test/cctest/compiler/function-tester.h"
|
||||
|
||||
using namespace v8::internal;
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
|
@ -2,6 +2,9 @@
|
||||
// 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 <cmath>
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
|
@ -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/assembler.h"
|
||||
#include "src/codegen.h"
|
||||
#include "src/compiler/linkage.h"
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
|
@ -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/bootstrapper.h"
|
||||
#include "src/code-stubs.h"
|
||||
#include "src/compiler/common-operator.h"
|
||||
|
@ -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/compiler/function-tester.h"
|
||||
|
@ -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 <limits>
|
||||
|
||||
#include "src/compiler/access-builder.h"
|
||||
|
Loading…
Reference in New Issue
Block a user