Index: test/cctest/test-hashing.cc |
diff --git a/test/cctest/test-hashing.cc b/test/cctest/test-hashing.cc |
index 9a7d61ddd88a58415dcdb467cdf167102269a35e..07e6d6520046b3bd7244ec4a3cdb7841ed80b152 100644 |
--- a/test/cctest/test-hashing.cc |
+++ b/test/cctest/test-hashing.cc |
@@ -51,7 +51,7 @@ void generate(MacroAssembler* masm, i::Vector<const uint8_t> string) { |
// GenerateHashInit takes the first character as an argument so it can't |
// handle the zero length string. |
ASSERT(string.length() > 0); |
-#if V8_TARGET_ARCH_IA32 |
+#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87 |
__ push(ebx); |
__ push(ecx); |
__ mov(eax, Immediate(0)); |
@@ -136,7 +136,7 @@ void generate(MacroAssembler* masm, i::Vector<const uint8_t> string) { |
void generate(MacroAssembler* masm, uint32_t key) { |
-#if V8_TARGET_ARCH_IA32 |
+#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87 |
__ push(ebx); |
__ mov(eax, Immediate(key)); |
__ GetNumberHash(eax, ebx); |