< prev index next >

src/hotspot/cpu/zero/assembler_zero.hpp

Print this page
rev 54960 : 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by: kvn, thartmann

@@ -35,10 +35,16 @@
  public:
   Assembler(CodeBuffer* code) : AbstractAssembler(code) {}
 
  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 {
  public:
   MacroAssembler(CodeBuffer* code) : Assembler(code) {}
< prev index next >