6796746: rename LoadC (char) opcode class to LoadUS (unsigned short)

Renaming LoadC to LoadUS would round up the planned introduction of LoadUB and LoadUI.

Reviewed-by: phh, kvn
This commit is contained in:
Christian Thalinger 2009-01-26 16:22:12 +01:00
parent ae8aa00398
commit 3b8452da93
15 changed files with 49 additions and 49 deletions

View file

@ -207,11 +207,11 @@ public:
virtual BasicType memory_type() const { return T_BYTE; }
};
//------------------------------LoadCNode--------------------------------------
// Load a char (16bits unsigned) from memory
class LoadCNode : public LoadNode {
//------------------------------LoadUSNode-------------------------------------
// Load an unsigned short/char (16bits unsigned) from memory
class LoadUSNode : public LoadNode {
public:
LoadCNode( Node *c, Node *mem, Node *adr, const TypePtr* at, const TypeInt *ti = TypeInt::CHAR )
LoadUSNode( Node *c, Node *mem, Node *adr, const TypePtr* at, const TypeInt *ti = TypeInt::CHAR )
: LoadNode(c,mem,adr,at,ti) {}
virtual int Opcode() const;
virtual uint ideal_reg() const { return Op_RegI; }