hotspot/src/cpu/arm/vm/c1_Runtime1_arm.cpp
changeset 46620 750c6edff33b
parent 44082 95196492dc31
child 46625 edefffab74e2
--- a/hotspot/src/cpu/arm/vm/c1_Runtime1_arm.cpp	Tue Jul 04 15:58:10 2017 +0200
+++ b/hotspot/src/cpu/arm/vm/c1_Runtime1_arm.cpp	Thu Apr 13 09:57:51 2017 +0200
@@ -250,7 +250,7 @@
 
   __ sub(SP, SP, (reg_save_size - 2) * wordSize);
 
-  for (int i = 0; i < round_down(number_of_saved_gprs, 2); i += 2) {
+  for (int i = 0; i < align_down((int)number_of_saved_gprs, 2); i += 2) {
     __ stp(as_Register(i), as_Register(i+1), Address(SP, (R0_offset + i) * wordSize));
   }