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

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

Issue 1282763002: [turbofan] Drop V8_TURBOFAN_BACKEND and V8_TURBOFAN_TARGET defines. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | test/cctest/compiler/test-pipeline.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/parser.h" 9 #include "src/parser.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
11 11
12 #include "src/compiler/common-operator.h" 12 #include "src/compiler/common-operator.h"
13 #include "src/compiler/graph.h" 13 #include "src/compiler/graph.h"
14 #include "src/compiler/linkage.h" 14 #include "src/compiler/linkage.h"
15 #include "src/compiler/machine-operator.h" 15 #include "src/compiler/machine-operator.h"
16 #include "src/compiler/node.h" 16 #include "src/compiler/node.h"
17 #include "src/compiler/operator.h" 17 #include "src/compiler/operator.h"
18 #include "src/compiler/pipeline.h" 18 #include "src/compiler/pipeline.h"
19 #include "src/compiler/schedule.h" 19 #include "src/compiler/schedule.h"
20 #include "test/cctest/cctest.h" 20 #include "test/cctest/cctest.h"
21 21
22 #if V8_TURBOFAN_TARGET
23
24 using namespace v8::internal; 22 using namespace v8::internal;
25 using namespace v8::internal::compiler; 23 using namespace v8::internal::compiler;
26 24
27 static Operator dummy_operator(IrOpcode::kParameter, Operator::kNoWrite, 25 static Operator dummy_operator(IrOpcode::kParameter, Operator::kNoWrite,
28 "dummy", 0, 0, 0, 0, 0, 0); 26 "dummy", 0, 0, 0, 0, 0, 0);
29 27
30 // So we can get a real JS function. 28 // So we can get a real JS function.
31 static Handle<JSFunction> Compile(const char* source) { 29 static Handle<JSFunction> Compile(const char* source) {
32 Isolate* isolate = CcTest::i_isolate(); 30 Isolate* isolate = CcTest::i_isolate();
33 Handle<String> source_code = isolate->factory() 31 Handle<String> source_code = isolate->factory()
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 104
107 105
108 TEST(TestLinkageRuntimeCall) { 106 TEST(TestLinkageRuntimeCall) {
109 // TODO(titzer): test linkage creation for outgoing runtime calls. 107 // TODO(titzer): test linkage creation for outgoing runtime calls.
110 } 108 }
111 109
112 110
113 TEST(TestLinkageStubCall) { 111 TEST(TestLinkageStubCall) {
114 // TODO(titzer): test linkage creation for outgoing stub calls. 112 // TODO(titzer): test linkage creation for outgoing stub calls.
115 } 113 }
116
117 #endif // V8_TURBOFAN_TARGET
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | test/cctest/compiler/test-pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698