< prev index next >

src/hotspot/cpu/x86/vmreg_x86.cpp

Print this page
*** 64,20 ***
  
    for ( ; i < ConcreteRegisterImpl::number_of_registers ; i ++ ) {
      regName[i] = "NON-GPR-FPR-XMM-KREG";
    }
  }
- 
- #define INTEGER_TYPE 0
- #define VECTOR_TYPE 1
- #define X87_TYPE 2
- #define STACK_TYPE 3
- 
- //TODO: Case for KRegisters
- VMReg VMRegImpl::vmStorageToVMReg(int type, int index) {
-   switch(type) {
-     case INTEGER_TYPE: return ::as_Register(index)->as_VMReg();
-     case VECTOR_TYPE: return ::as_XMMRegister(index)->as_VMReg();
-     case STACK_TYPE: return VMRegImpl::stack2reg(index LP64_ONLY(* 2)); // numbering on x64 goes per 64-bits
-   }
-   return VMRegImpl::Bad();
- }
--- 64,5 ---
< prev index next >