Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index de973d91b9c734e8a4b91f0ff7287ed7a890bbdf..9911ce42bc12db47c5991b3d97de71eb4f92ac6b 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -132,7 +132,7 @@ TEST(HeapObjects) { |
CHECK(value->IsNumber()); |
CHECK_EQ(Smi::kMaxValue, Smi::cast(value)->value()); |
-#ifndef V8_LONG_SMI |
+#ifndef V8_TARGET_ARCH_X64 |
// TODO(lrn): We need a NumberFromIntptr function in order to test this. |
value = Heap::NumberFromInt32(Smi::kMinValue - 1); |
CHECK(value->IsHeapNumber()); |