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

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

Issue 1417163004: Remove obsolete src/v8.h include from compiler cctests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-cctest-api-deprecation
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/v8.h"
9 #include "test/cctest/cctest.h"
10
11 #include "src/compiler/code-generator.h" 8 #include "src/compiler/code-generator.h"
12 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
13 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
14 #include "src/compiler/instruction.h" 11 #include "src/compiler/instruction.h"
15 #include "src/compiler/linkage.h" 12 #include "src/compiler/linkage.h"
16 #include "src/compiler/machine-operator.h" 13 #include "src/compiler/machine-operator.h"
17 #include "src/compiler/node.h" 14 #include "src/compiler/node.h"
18 #include "src/compiler/operator.h" 15 #include "src/compiler/operator.h"
19 #include "src/compiler/schedule.h" 16 #include "src/compiler/schedule.h"
20 #include "src/compiler/scheduler.h" 17 #include "src/compiler/scheduler.h"
18 #include "test/cctest/cctest.h"
21 19
22 using namespace v8::internal; 20 using namespace v8::internal;
23 using namespace v8::internal::compiler; 21 using namespace v8::internal::compiler;
24 22
25 typedef v8::internal::compiler::Instruction TestInstr; 23 typedef v8::internal::compiler::Instruction TestInstr;
26 typedef v8::internal::compiler::InstructionSequence TestInstrSeq; 24 typedef v8::internal::compiler::InstructionSequence TestInstrSeq;
27 25
28 // A testing helper for the register code abstraction. 26 // A testing helper for the register code abstraction.
29 class InstructionTester : public HandleAndZoneScope { 27 class InstructionTester : public HandleAndZoneScope {
30 public: // We're all friends here. 28 public: // We're all friends here.
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 CHECK(inputs[z].Equals(*m->InputAt(z))); 315 CHECK(inputs[z].Equals(*m->InputAt(z)));
318 } 316 }
319 317
320 for (size_t z = 0; z < k; z++) { 318 for (size_t z = 0; z < k; z++) {
321 CHECK(temps[z].Equals(*m->TempAt(z))); 319 CHECK(temps[z].Equals(*m->TempAt(z)));
322 } 320 }
323 } 321 }
324 } 322 }
325 } 323 }
326 } 324 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-graph-visualizer.cc ('k') | test/cctest/compiler/test-js-constant-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698