--- a/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp Wed Dec 16 11:35:59 2015 +0000
+++ b/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp Wed Dec 16 13:21:19 2015 +0000
@@ -135,15 +135,10 @@
// bytecode pointer
REGISTER_DECLARATION(Register, rbcp, r22);
// Dispatch table base
-REGISTER_DECLARATION(Register, rdispatch, r21);
+REGISTER_DECLARATION(Register, rdispatch, r21);
// Java stack pointer
REGISTER_DECLARATION(Register, esp, r20);
-// TODO : x86 uses rbp to save SP in method handle code
-// we may need to do the same with fp
-// JSR 292 fixed register usages:
-//REGISTER_DECLARATION(Register, r_mh_SP_save, r29);
-
#define assert_cond(ARG1) assert(ARG1, #ARG1)
namespace asm_util {
@@ -551,6 +546,7 @@
size = 0; break;
default:
ShouldNotReachHere();
+ size = 0; // unreachable
}
} else {
size = i->get(31, 31);