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

Side by Side Diff: test/unittests/compiler/instruction-selector-unittest.h

Issue 871843004: Distinquish TestWithIsolateAndZone from TestWithZone (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@no_zone_isolate
Patch Set: Created 5 years, 11 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
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_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ 5 #ifndef V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_
6 #define V8_UNITTESTS_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/macro-assembler.h" 14 #include "src/macro-assembler.h"
15 #include "test/unittests/test-utils.h" 15 #include "test/unittests/test-utils.h"
16 16
17 namespace v8 { 17 namespace v8 {
18 namespace internal { 18 namespace internal {
19 namespace compiler { 19 namespace compiler {
20 20
21 class InstructionSelectorTest : public TestWithContext, public TestWithZone { 21 class InstructionSelectorTest : public TestWithContext,
22 public TestWithIsolateAndZone {
22 public: 23 public:
23 InstructionSelectorTest(); 24 InstructionSelectorTest();
24 ~InstructionSelectorTest() OVERRIDE; 25 ~InstructionSelectorTest() OVERRIDE;
25 26
26 base::RandomNumberGenerator* rng() { return &rng_; } 27 base::RandomNumberGenerator* rng() { return &rng_; }
27 28
28 class Stream; 29 class Stream;
29 30
30 enum StreamBuilderMode { 31 enum StreamBuilderMode {
31 kAllInstructions, 32 kAllInstructions,
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 template <typename T> 234 template <typename T>
234 class InstructionSelectorTestWithParam 235 class InstructionSelectorTestWithParam
235 : public InstructionSelectorTest, 236 : public InstructionSelectorTest,
236 public ::testing::WithParamInterface<T> {}; 237 public ::testing::WithParamInterface<T> {};
237 238
238 } // namespace compiler 239 } // namespace compiler
239 } // namespace internal 240 } // namespace internal
240 } // namespace v8 241 } // namespace v8
241 242
242 #endif // V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ 243 #endif // V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/graph-unittest.h ('k') | test/unittests/compiler/instruction-sequence-unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698