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 |
old mode 100755 |
new mode 100644 |
index d4d0edb6917d12375e2d6b6ea607ae56b2f31566..a2070a5ea8fa7cfe99dc1689e0415de6b5bee00e |
--- a/test/cctest/test-macro-assembler-x64.cc |
+++ b/test/cctest/test-macro-assembler-x64.cc |
@@ -801,6 +801,7 @@ static void SmiAddTest(MacroAssembler* masm, |
__ j(not_equal, exit); |
} |
+ |
TEST(SmiAdd) { |
v8::internal::V8::Initialize(NULL); |
// Allocate an executable page of memory. |
@@ -1131,7 +1132,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_TARGET_ARCH_X64 |
+#if V8_TARGET_ARCH_X64 |
bool overflow = (x == Smi::kMinValue && y < 0); // Safe approx. used. |
#else |
bool overflow = (x == Smi::kMinValue && y == -1); |
@@ -1397,6 +1398,7 @@ void TestSmiIndex(MacroAssembler* masm, Label* exit, int id, int x) { |
} |
} |
+ |
TEST(SmiIndex) { |
v8::internal::V8::Initialize(NULL); |
// Allocate an executable page of memory. |