comparison src/share/vm/opto/memnode.hpp @ 558:3b5ac9e7e6ea

6796746: rename LoadC (char) opcode class to LoadUS (unsigned short) Summary: Renaming LoadC to LoadUS would round up the planned introduction of LoadUB and LoadUI. Reviewed-by: phh, kvn
author twisti
date Mon, 26 Jan 2009 16:22:12 +0100
parents a1980da045cc
children 0fbdb4381b99 98cb887364d3
comparison
equal deleted inserted replaced
557:465813e0303a 558:3b5ac9e7e6ea
205 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); 205 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
206 virtual int store_Opcode() const { return Op_StoreB; } 206 virtual int store_Opcode() const { return Op_StoreB; }
207 virtual BasicType memory_type() const { return T_BYTE; } 207 virtual BasicType memory_type() const { return T_BYTE; }
208 }; 208 };
209 209
210 //------------------------------LoadCNode-------------------------------------- 210 //------------------------------LoadUSNode-------------------------------------
211 // Load a char (16bits unsigned) from memory 211 // Load an unsigned short/char (16bits unsigned) from memory
212 class LoadCNode : public LoadNode { 212 class LoadUSNode : public LoadNode {
213 public: 213 public:
214 LoadCNode( Node *c, Node *mem, Node *adr, const TypePtr* at, const TypeInt *ti = TypeInt::CHAR ) 214 LoadUSNode( Node *c, Node *mem, Node *adr, const TypePtr* at, const TypeInt *ti = TypeInt::CHAR )
215 : LoadNode(c,mem,adr,at,ti) {} 215 : LoadNode(c,mem,adr,at,ti) {}
216 virtual int Opcode() const; 216 virtual int Opcode() const;
217 virtual uint ideal_reg() const { return Op_RegI; } 217 virtual uint ideal_reg() const { return Op_RegI; }
218 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); 218 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
219 virtual int store_Opcode() const { return Op_StoreC; } 219 virtual int store_Opcode() const { return Op_StoreC; }