Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: test/cctest/compiler/test-linkage.cc

Issue 1424943004: Move compiler cctests into v8::internal::compiler namespace. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(jochen): Remove this after the setting is turned on globally. 5 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS 6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7 7
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/parser.h" 10 #include "src/parser.h"
11 #include "src/zone.h" 11 #include "src/zone.h"
12 12
13 #include "src/compiler/common-operator.h" 13 #include "src/compiler/common-operator.h"
14 #include "src/compiler/graph.h" 14 #include "src/compiler/graph.h"
15 #include "src/compiler/linkage.h" 15 #include "src/compiler/linkage.h"
16 #include "src/compiler/machine-operator.h" 16 #include "src/compiler/machine-operator.h"
17 #include "src/compiler/node.h" 17 #include "src/compiler/node.h"
18 #include "src/compiler/operator.h" 18 #include "src/compiler/operator.h"
19 #include "src/compiler/pipeline.h" 19 #include "src/compiler/pipeline.h"
20 #include "src/compiler/schedule.h" 20 #include "src/compiler/schedule.h"
21 #include "test/cctest/cctest.h" 21 #include "test/cctest/cctest.h"
22 22
23 using namespace v8::internal; 23 namespace v8 {
24 using namespace v8::internal::compiler; 24 namespace internal {
25 namespace compiler {
25 26
26 static Operator dummy_operator(IrOpcode::kParameter, Operator::kNoWrite, 27 static Operator dummy_operator(IrOpcode::kParameter, Operator::kNoWrite,
27 "dummy", 0, 0, 0, 0, 0, 0); 28 "dummy", 0, 0, 0, 0, 0, 0);
28 29
29 // So we can get a real JS function. 30 // So we can get a real JS function.
30 static Handle<JSFunction> Compile(const char* source) { 31 static Handle<JSFunction> Compile(const char* source) {
31 Isolate* isolate = CcTest::i_isolate(); 32 Isolate* isolate = CcTest::i_isolate();
32 Handle<String> source_code = isolate->factory() 33 Handle<String> source_code = isolate->factory()
33 ->NewStringFromUtf8(CStrVector(source)) 34 ->NewStringFromUtf8(CStrVector(source))
34 .ToHandleChecked(); 35 .ToHandleChecked();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 107
107 108
108 TEST(TestLinkageRuntimeCall) { 109 TEST(TestLinkageRuntimeCall) {
109 // TODO(titzer): test linkage creation for outgoing runtime calls. 110 // TODO(titzer): test linkage creation for outgoing runtime calls.
110 } 111 }
111 112
112 113
113 TEST(TestLinkageStubCall) { 114 TEST(TestLinkageStubCall) {
114 // TODO(titzer): test linkage creation for outgoing stub calls. 115 // TODO(titzer): test linkage creation for outgoing stub calls.
115 } 116 }
117
118 } // namespace compiler
119 } // namespace internal
120 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/cctest/compiler/test-loop-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698