hotspot/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp
changeset 6970 3ac175042286
parent 6774 a224d6a24120
child 7397 5b173b4ca846
equal deleted inserted replaced
6779:fdc7aa2ae9a3 6970:3ac175042286
   662   LIRItem val   (x->argument_at(3), this);  // replace field with val if matches cmp
   662   LIRItem val   (x->argument_at(3), this);  // replace field with val if matches cmp
   663 
   663 
   664   // Use temps to avoid kills
   664   // Use temps to avoid kills
   665   LIR_Opr t1 = FrameMap::G1_opr;
   665   LIR_Opr t1 = FrameMap::G1_opr;
   666   LIR_Opr t2 = FrameMap::G3_opr;
   666   LIR_Opr t2 = FrameMap::G3_opr;
   667   LIR_Opr addr = (type == objectType) ? new_register(T_OBJECT) : new_pointer_register();
   667   LIR_Opr addr = new_pointer_register();
   668 
   668 
   669   // get address of field
   669   // get address of field
   670   obj.load_item();
   670   obj.load_item();
   671   offset.load_item();
   671   offset.load_item();
   672   cmp.load_item();
   672   cmp.load_item();