--- a/src/hotspot/cpu/arm/assembler_arm_32.hpp Tue May 21 11:45:37 2019 +0200
+++ b/src/hotspot/cpu/arm/assembler_arm_32.hpp Tue May 21 15:51:35 2019 +0200
@@ -199,6 +199,14 @@
static const int LogInstructionSize = 2;
static const int InstructionSize = 1 << LogInstructionSize;
+ //---< calculate length of instruction >---
+ // We just use the values set above.
+ // instruction must start at passed address
+ static unsigned int instr_len(unsigned char *instr) { return InstructionSize; }
+
+ //---< longest instructions >---
+ static unsigned int instr_maxlen() { return InstructionSize; }
+
static inline AsmCondition inverse(AsmCondition cond) {
assert ((cond != al) && (cond != nv), "AL and NV conditions cannot be inversed");
return (AsmCondition)((int)cond ^ 1);