--- a/src/hotspot/cpu/zero/assembler_zero.hpp Tue May 21 11:45:37 2019 +0200
+++ b/src/hotspot/cpu/zero/assembler_zero.hpp Tue May 21 15:51:35 2019 +0200
@@ -37,6 +37,12 @@
public:
void pd_patch_instruction(address branch, address target, const char* file, int line);
+
+ //---< calculate length of instruction >---
+ static unsigned int instr_len(unsigned char *instr) { return 1; }
+
+ //---< longest instructions >---
+ static unsigned int instr_maxlen() { return 1; }
};
class MacroAssembler : public Assembler {