< prev index next >

src/hotspot/cpu/x86/registerMap_x86.cpp

Print this page
*** 52,16 ***
          offset_in_bytes -= 16;
        } else {
          // XMM0-15 case (0 < offset_in_bytes < 16). No need to adjust base register (or offset).
        }
      }
!     address base_location = location(base_reg);
      if (base_location != NULL) {
        return base_location + offset_in_bytes;
      }
    }
    return NULL;
  }
  
  address RegisterMap::pd_location(VMReg base_reg, int slot_idx) const {
!   return location(base_reg->next(slot_idx));
  }
--- 52,20 ---
          offset_in_bytes -= 16;
        } else {
          // XMM0-15 case (0 < offset_in_bytes < 16). No need to adjust base register (or offset).
        }
      }
!     address base_location = location(base_reg, (intptr_t*)NULL);
      if (base_location != NULL) {
        return base_location + offset_in_bytes;
      }
    }
    return NULL;
  }
  
  address RegisterMap::pd_location(VMReg base_reg, int slot_idx) const {
!   return location(base_reg->next(slot_idx), (intptr_t*)NULL);
  }
+ 
+ // int RegisterMap::link_offset() {
+ //   return in_bytes(byte_offset_of(RegisterMap, _location)) + (int)(sizeof(intptr_t*) * rbp->as_VMReg()->value());
+ // }
< prev index next >