Index: test/cctest/test-hashing.cc |
diff --git a/test/cctest/test-hashing.cc b/test/cctest/test-hashing.cc |
index 25a8e5c527f618e52ba0f58e0fffcf40d3254ab9..d6f055e3219091d0c814f093d10b6bd1d41b62c8 100644 |
--- a/test/cctest/test-hashing.cc |
+++ b/test/cctest/test-hashing.cc |
@@ -90,6 +90,15 @@ void generate(MacroAssembler* masm, uint32_t key) { |
__ pop(kRootRegister); |
__ jr(ra); |
__ nop(); |
+#elif V8_TARGET_ARCH_S390 |
+ __ push(kRootRegister); |
+ __ push(ip); |
+ __ InitializeRootRegister(); |
+ __ lhi(r2, Operand(key)); |
+ __ GetNumberHash(r2, ip); |
+ __ pop(ip); |
+ __ pop(kRootRegister); |
+ __ Ret(); |
#elif V8_TARGET_ARCH_PPC |
__ function_descriptor(); |
__ push(kRootRegister); |