< prev index next >

src/hotspot/cpu/aarch64/vmreg_aarch64.cpp

Print this page
*** 49,18 ***
  
    for ( ; i < ConcreteRegisterImpl::number_of_registers ; i ++ ) {
      regName[i] = "NON-GPR-FPR";
    }
  }
- 
- #define INTEGER_TYPE 0
- #define VECTOR_TYPE 1
- #define STACK_TYPE 3
- 
- VMReg VMRegImpl::vmStorageToVMReg(int type, int index) {
-   switch(type) {
-     case INTEGER_TYPE: return ::as_Register(index)->as_VMReg();
-     case VECTOR_TYPE: return ::as_FloatRegister(index)->as_VMReg();
-     case STACK_TYPE: return VMRegImpl::stack2reg(index LP64_ONLY(* 2));
-   }
-   return VMRegImpl::Bad();
- }
--- 49,5 ---
< prev index next >