Mercurial > hg > truffle
comparison src/share/vm/opto/memnode.hpp @ 570:dca06e7f503d
Merge
author | kvn |
---|---|
date | Tue, 17 Feb 2009 14:30:24 -0800 |
parents | 3b5ac9e7e6ea |
children | 0fbdb4381b99 98cb887364d3 |
comparison
equal
deleted
inserted
replaced
549:fe3d7c11b4b7 | 570:dca06e7f503d |
---|---|
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; } |