Rename COMPILER_TEST to TARGET_TARGET.
authorbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 12 Aug 2014 09:48:52 +0000 (09:48 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 12 Aug 2014 09:48:52 +0000 (09:48 +0000)
The name COMPILER_TEST is misleading here.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/465913002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23070 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/compiler-unittests/arm/instruction-selector-arm-unittest.cc
test/compiler-unittests/compiler-unittests.h
test/compiler-unittests/instruction-selector-unittest.cc

index 3e51722..b781ac8 100644 (file)
@@ -11,7 +11,7 @@ namespace compiler {
 class InstructionSelectorARMTest : public InstructionSelectorTest {};
 
 
-COMPILER_TEST_F(InstructionSelectorARMTest, Int32AddP) {
+TARGET_TEST_F(InstructionSelectorARMTest, Int32AddP) {
   StreamBuilder m(this, kMachineWord32, kMachineWord32, kMachineWord32);
   m.Return(m.Int32Add(m.Parameter(0), m.Parameter(1)));
   Stream s = m.Build();
index 6d063ee..aa978a2 100644 (file)
@@ -13,23 +13,23 @@ namespace v8 {
 namespace internal {
 namespace compiler {
 
-// The COMPILER_TEST(Case, Name) macro works just like
+// The TARGET_TEST(Case, Name) macro works just like
 // TEST(Case, Name), except that the test is disabled
 // if the platform is not a supported TurboFan target.
 #if V8_TURBOFAN_TARGET
-#define COMPILER_TEST(Case, Name) TEST(Case, Name)
+#define TARGET_TEST(Case, Name) TEST(Case, Name)
 #else
-#define COMPILER_TEST(Case, Name) TEST(Case, DISABLED_##Name)
+#define TARGET_TEST(Case, Name) TEST(Case, DISABLED_##Name)
 #endif
 
 
-// The COMPILER_TEST_F(Case, Name) macro works just like
+// The TARGET_TEST_F(Case, Name) macro works just like
 // TEST_F(Case, Name), except that the test is disabled
 // if the platform is not a supported TurboFan target.
 #if V8_TURBOFAN_TARGET
-#define COMPILER_TEST_F(Case, Name) TEST_F(Case, Name)
+#define TARGET_TEST_F(Case, Name) TEST_F(Case, Name)
 #else
-#define COMPILER_TEST_F(Case, Name) TEST_F(Case, DISABLED_##Name)
+#define TARGET_TEST_F(Case, Name) TEST_F(Case, DISABLED_##Name)
 #endif
 
 
index a862f98..7018652 100644 (file)
@@ -62,7 +62,7 @@ InstructionSelectorTest::Stream InstructionSelectorTest::StreamBuilder::Build(
 }
 
 
-COMPILER_TEST_F(InstructionSelectorTest, ReturnP) {
+TARGET_TEST_F(InstructionSelectorTest, ReturnP) {
   StreamBuilder m(this, kMachineWord32, kMachineWord32);
   m.Return(m.Parameter(0));
   Stream s = m.Build(kAllInstructions);
@@ -74,7 +74,7 @@ COMPILER_TEST_F(InstructionSelectorTest, ReturnP) {
 }
 
 
-COMPILER_TEST_F(InstructionSelectorTest, ReturnImm) {
+TARGET_TEST_F(InstructionSelectorTest, ReturnImm) {
   StreamBuilder m(this, kMachineWord32);
   m.Return(m.Int32Constant(0));
   Stream s = m.Build(kAllInstructions);