Index: test/cctest/test-macro-assembler-x64.cc |
diff --git a/test/cctest/test-macro-assembler-x64.cc b/test/cctest/test-macro-assembler-x64.cc |
index 27a394642ae49ae21712acccecf0b2ca0f4915ee..9c1197ffd81dd1c58a347c8b7389347bd4cc7cd6 100755 |
--- a/test/cctest/test-macro-assembler-x64.cc |
+++ b/test/cctest/test-macro-assembler-x64.cc |
@@ -1071,7 +1071,7 @@ TEST(SmiMul) { |
void TestSmiDiv(MacroAssembler* masm, Label* exit, int id, int x, int y) { |
bool division_by_zero = (y == 0); |
bool negative_zero = (x == 0 && y < 0); |
-#ifdef V8_LONG_SMI |
+#ifdef V8_TARGET_ARCH_X64 |
bool overflow = (x == Smi::kMinValue && y < 0); // Safe approx. used. |
#else |
bool overflow = (x == Smi::kMinValue && y == -1); |