mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
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:
parent
ae8aa00398
commit
3b8452da93
15 changed files with 49 additions and 49 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue