Index: test/cctest/compiler/test-instruction-selector.cc |
diff --git a/test/cctest/compiler/test-instruction-selector.cc b/test/cctest/compiler/test-instruction-selector.cc |
index 862643f0c8f4b42dbc42a214b6abbf1134df0308..4cab8758a13ca2155e113cb1be3acfd3e590867b 100644 |
--- a/test/cctest/compiler/test-instruction-selector.cc |
+++ b/test/cctest/compiler/test-instruction-selector.cc |
@@ -7,16 +7,16 @@ |
using namespace v8::internal; |
using namespace v8::internal::compiler; |
-#if V8_TURBOFAN_TARGET |
+#if V8_TURBOFAN_BACKEND |
TEST(InstructionSelectionReturnZero) { |
- InstructionSelectorTester m(InstructionSelectorTester::kInternalMode); |
+ InstructionSelectorTester m; |
m.Return(m.Int32Constant(0)); |
- m.SelectInstructions(); |
+ m.SelectInstructions(InstructionSelectorTester::kInternalMode); |
CHECK_EQ(2, static_cast<int>(m.code.size())); |
CHECK_EQ(kArchNop, m.code[0]->opcode()); |
CHECK_EQ(kArchRet, m.code[1]->opcode()); |
CHECK_EQ(1, static_cast<int>(m.code[1]->InputCount())); |
} |
-#endif |
+#endif // !V8_TURBOFAN_BACKEND |