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

Side by Side Diff: test/cctest/compiler/codegen-tester.h

Issue 1177353003: [turbofan] Move RawMachineAssembler to unittests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/cctest.gyp ('k') | test/cctest/compiler/instruction-selector-tester.h » ('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 #ifndef V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ 5 #ifndef V8_CCTEST_COMPILER_CODEGEN_TESTER_H_
6 #define V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ 6 #define V8_CCTEST_COMPILER_CODEGEN_TESTER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler/instruction-selector.h" 10 #include "src/compiler/instruction-selector.h"
11 #include "src/compiler/pipeline.h" 11 #include "src/compiler/pipeline.h"
12 #include "src/compiler/raw-machine-assembler.h"
13 #include "src/simulator.h" 12 #include "src/simulator.h"
14 #include "test/cctest/compiler/call-tester.h" 13 #include "test/cctest/compiler/call-tester.h"
14 #include "test/unittests/compiler/raw-machine-assembler.h"
15 15
16 namespace v8 { 16 namespace v8 {
17 namespace internal { 17 namespace internal {
18 namespace compiler { 18 namespace compiler {
19 19
20 template <typename ReturnType> 20 template <typename ReturnType>
21 class RawMachineAssemblerTester : public HandleAndZoneScope, 21 class RawMachineAssemblerTester : public HandleAndZoneScope,
22 public CallHelper<ReturnType>, 22 public CallHelper<ReturnType>,
23 public RawMachineAssembler { 23 public RawMachineAssembler {
24 public: 24 public:
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } else { 312 } else {
313 CHECK_EQ(x, y); 313 CHECK_EQ(x, y);
314 } 314 }
315 } 315 }
316 316
317 } // namespace compiler 317 } // namespace compiler
318 } // namespace internal 318 } // namespace internal
319 } // namespace v8 319 } // namespace v8
320 320
321 #endif // V8_CCTEST_COMPILER_CODEGEN_TESTER_H_ 321 #endif // V8_CCTEST_COMPILER_CODEGEN_TESTER_H_
OLDNEW
« no previous file with comments | « test/cctest/cctest.gyp ('k') | test/cctest/compiler/instruction-selector-tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698