Rename COMPILER_TEST to TARGET_TARGET.
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
This commit is contained in:
parent
77be85efaa
commit
a8b8fbbd98
@ -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();
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user