OLD | NEW |
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_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ | 5 #ifndef V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ |
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ | 6 #define V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "src/base/utils/random-number-generator.h" | 11 #include "src/base/utils/random-number-generator.h" |
12 #include "src/compiler/instruction-selector.h" | 12 #include "src/compiler/instruction-selector.h" |
13 #include "src/compiler/raw-machine-assembler.h" | 13 #include "src/compiler/raw-machine-assembler.h" |
14 #include "src/test/test-utils.h" | 14 #include "test/unittests/test-utils.h" |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
18 namespace compiler { | 18 namespace compiler { |
19 | 19 |
20 class InstructionSelectorTest : public TestWithContext, public TestWithZone { | 20 class InstructionSelectorTest : public TestWithContext, public TestWithZone { |
21 public: | 21 public: |
22 InstructionSelectorTest(); | 22 InstructionSelectorTest(); |
23 virtual ~InstructionSelectorTest(); | 23 virtual ~InstructionSelectorTest(); |
24 | 24 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 203 |
204 template <typename T> | 204 template <typename T> |
205 class InstructionSelectorTestWithParam | 205 class InstructionSelectorTestWithParam |
206 : public InstructionSelectorTest, | 206 : public InstructionSelectorTest, |
207 public ::testing::WithParamInterface<T> {}; | 207 public ::testing::WithParamInterface<T> {}; |
208 | 208 |
209 } // namespace compiler | 209 } // namespace compiler |
210 } // namespace internal | 210 } // namespace internal |
211 } // namespace v8 | 211 } // namespace v8 |
212 | 212 |
213 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ | 213 #endif // V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ |
OLD | NEW |