hotspot/src/cpu/arm/vm/stubGenerator_arm.cpp
changeset 46620 750c6edff33b
parent 42664 29142a56c193
child 46625 edefffab74e2
--- a/hotspot/src/cpu/arm/vm/stubGenerator_arm.cpp	Tue Jul 04 15:58:10 2017 +0200
+++ b/hotspot/src/cpu/arm/vm/stubGenerator_arm.cpp	Thu Apr 13 09:57:51 2017 +0200
@@ -2876,7 +2876,7 @@
       BLOCK_COMMENT("PreBarrier");
 
 #ifdef AARCH64
-      callee_saved_regs = round_to(callee_saved_regs, 2);
+      callee_saved_regs = align_up(callee_saved_regs, 2);
       for (int i = 0; i < callee_saved_regs; i += 2) {
         __ raw_push(as_Register(i), as_Register(i+1));
       }