src/hotspot/cpu/arm/assembler_arm_32.hpp
changeset 54960 e46fe26d7f77
parent 54915 278600885731
equal deleted inserted replaced
54959:00425a850a2f 54960:e46fe26d7f77
   196 
   196 
   197  public:
   197  public:
   198 
   198 
   199   static const int LogInstructionSize = 2;
   199   static const int LogInstructionSize = 2;
   200   static const int InstructionSize    = 1 << LogInstructionSize;
   200   static const int InstructionSize    = 1 << LogInstructionSize;
       
   201 
       
   202   //---<  calculate length of instruction  >---
       
   203   // We just use the values set above.
       
   204   // instruction must start at passed address
       
   205   static unsigned int instr_len(unsigned char *instr) { return InstructionSize; }
       
   206 
       
   207   //---<  longest instructions  >---
       
   208   static unsigned int instr_maxlen() { return InstructionSize; }
   201 
   209 
   202   static inline AsmCondition inverse(AsmCondition cond) {
   210   static inline AsmCondition inverse(AsmCondition cond) {
   203     assert ((cond != al) && (cond != nv), "AL and NV conditions cannot be inversed");
   211     assert ((cond != al) && (cond != nv), "AL and NV conditions cannot be inversed");
   204     return (AsmCondition)((int)cond ^ 1);
   212     return (AsmCondition)((int)cond ^ 1);
   205   }
   213   }