Index: test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc |
diff --git a/src/compiler/ia32/instruction-selector-ia32-unittest.cc b/test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc |
similarity index 96% |
rename from src/compiler/ia32/instruction-selector-ia32-unittest.cc |
rename to test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc |
index 540584c4ac085a89d25f3c0ca5039914b6c9fc23..a5c42019b525b18f3c3d17be989963443c4cc078 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32-unittest.cc |
+++ b/test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "src/compiler/instruction-selector-unittest.h" |
+#include "test/unittests/compiler/instruction-selector-unittest.h" |
namespace v8 { |
namespace internal { |
@@ -202,9 +202,9 @@ TEST_P(InstructionSelectorMemoryAccessTest, LoadWithImmediateBase) { |
if (base == 0) { |
ASSERT_EQ(1U, s[0]->InputCount()); |
} else { |
- ASSERT_EQ(2U, s[0]->InputCount()); |
- ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
- EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); |
+ ASSERT_EQ(2U, s[0]->InputCount()); |
+ ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
+ EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); |
} |
EXPECT_EQ(1U, s[0]->OutputCount()); |
} |
@@ -222,9 +222,9 @@ TEST_P(InstructionSelectorMemoryAccessTest, LoadWithImmediateIndex) { |
if (index == 0) { |
ASSERT_EQ(1U, s[0]->InputCount()); |
} else { |
- ASSERT_EQ(2U, s[0]->InputCount()); |
- ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
- EXPECT_EQ(index, s.ToInt32(s[0]->InputAt(1))); |
+ ASSERT_EQ(2U, s[0]->InputCount()); |
+ ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
+ EXPECT_EQ(index, s.ToInt32(s[0]->InputAt(1))); |
} |
EXPECT_EQ(1U, s[0]->OutputCount()); |
} |
@@ -256,9 +256,9 @@ TEST_P(InstructionSelectorMemoryAccessTest, StoreWithImmediateBase) { |
if (base == 0) { |
ASSERT_EQ(2U, s[0]->InputCount()); |
} else { |
- ASSERT_EQ(3U, s[0]->InputCount()); |
- ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
- EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); |
+ ASSERT_EQ(3U, s[0]->InputCount()); |
+ ASSERT_EQ(InstructionOperand::IMMEDIATE, s[0]->InputAt(1)->kind()); |
+ EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); |
} |
EXPECT_EQ(0U, s[0]->OutputCount()); |
} |