hotspot/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp
changeset 6970 3ac175042286
parent 6774 a224d6a24120
child 7397 5b173b4ca846
equal deleted inserted replaced
6779:fdc7aa2ae9a3 6970:3ac175042286
   763     val.load_item_force(FrameMap::long1_opr);
   763     val.load_item_force(FrameMap::long1_opr);
   764   } else {
   764   } else {
   765     ShouldNotReachHere();
   765     ShouldNotReachHere();
   766   }
   766   }
   767 
   767 
   768   LIR_Opr addr = (type == objectType) ? new_register(T_OBJECT) : new_pointer_register();
   768   LIR_Opr addr = new_pointer_register();
   769   LIR_Address* a;
   769   LIR_Address* a;
   770   if(offset.result()->is_constant()) {
   770   if(offset.result()->is_constant()) {
   771     a = new LIR_Address(obj.result(),
   771     a = new LIR_Address(obj.result(),
   772                         NOT_LP64(offset.result()->as_constant_ptr()->as_jint()) LP64_ONLY((int)offset.result()->as_constant_ptr()->as_jlong()),
   772                         NOT_LP64(offset.result()->as_constant_ptr()->as_jint()) LP64_ONLY((int)offset.result()->as_constant_ptr()->as_jlong()),
   773                         as_BasicType(type));
   773                         as_BasicType(type));