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

Side by Side Diff: src/compiler/compiler-unittests.h

Issue 530693002: [turbofan] Merge compiler unit tests into src. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/compiler.gyp ('k') | src/compiler/compiler-unittests.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 #ifndef V8_COMPILER_UNITTESTS_COMPILER_UNITTESTS_H_ 5 #ifndef V8_COMPILER_UNITTESTS_COMPILER_UNITTESTS_H_
6 #define V8_COMPILER_UNITTESTS_COMPILER_UNITTESTS_H_ 6 #define V8_COMPILER_UNITTESTS_COMPILER_UNITTESTS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/zone.h" 9 #include "src/zone.h"
10 #include "testing/gtest-support.h" 10 #include "testing/gtest-support.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14
15 // Forward declarations.
16 class Factory;
17
18
14 namespace compiler { 19 namespace compiler {
15 20
16 // The TARGET_TEST(Case, Name) macro works just like 21 // The TARGET_TEST(Case, Name) macro works just like
17 // TEST(Case, Name), except that the test is disabled 22 // TEST(Case, Name), except that the test is disabled
18 // if the platform is not a supported TurboFan target. 23 // if the platform is not a supported TurboFan target.
19 #if V8_TURBOFAN_TARGET 24 #if V8_TURBOFAN_TARGET
20 #define TARGET_TEST(Case, Name) TEST(Case, Name) 25 #define TARGET_TEST(Case, Name) TEST(Case, Name)
21 #else 26 #else
22 #define TARGET_TEST(Case, Name) TEST(Case, DISABLED_##Name) 27 #define TARGET_TEST(Case, Name) TEST(Case, DISABLED_##Name)
23 #endif 28 #endif
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 81
77 template <typename T> 82 template <typename T>
78 class CompilerTestWithParam : public CompilerTest, 83 class CompilerTestWithParam : public CompilerTest,
79 public ::testing::WithParamInterface<T> {}; 84 public ::testing::WithParamInterface<T> {};
80 85
81 } // namespace compiler 86 } // namespace compiler
82 } // namespace internal 87 } // namespace internal
83 } // namespace v8 88 } // namespace v8
84 89
85 #endif // V8_COMPILER_UNITTESTS_COMPILER_UNITTESTS_H_ 90 #endif // V8_COMPILER_UNITTESTS_COMPILER_UNITTESTS_H_
OLDNEW
« no previous file with comments | « src/compiler/compiler.gyp ('k') | src/compiler/compiler-unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698