src/hotspot/share/opto/machnode.hpp
branchihse-cflags-rewrite-branch
changeset 56221 bdf8f77aad3a
parent 47583 2dcbf51d0431
child 56726 3a9b7a1f9197
equal deleted inserted replaced
56220:608e332e33e8 56221:bdf8f77aad3a
   299   // instructions and compute the same value.
   299   // instructions and compute the same value.
   300   virtual MachNode *Expand( State *, Node_List &proj_list, Node* mem ) { return this; }
   300   virtual MachNode *Expand( State *, Node_List &proj_list, Node* mem ) { return this; }
   301 
   301 
   302   // Bottom_type call; value comes from operand0
   302   // Bottom_type call; value comes from operand0
   303   virtual const class Type *bottom_type() const { return _opnds[0]->type(); }
   303   virtual const class Type *bottom_type() const { return _opnds[0]->type(); }
   304   virtual uint ideal_reg() const { const Type *t = _opnds[0]->type(); return t == TypeInt::CC ? Op_RegFlags : t->ideal_reg(); }
   304   virtual uint ideal_reg() const { const Type *t = _opnds[0]->type(); return t == TypeInt::CC ? (uint) Op_RegFlags : t->ideal_reg(); }
   305 
   305 
   306   // If this is a memory op, return the base pointer and fixed offset.
   306   // If this is a memory op, return the base pointer and fixed offset.
   307   // If there are no such, return NULL.  If there are multiple addresses
   307   // If there are no such, return NULL.  If there are multiple addresses
   308   // or the address is indeterminate (rare cases) then return (Node*)-1,
   308   // or the address is indeterminate (rare cases) then return (Node*)-1,
   309   // which serves as node bottom.
   309   // which serves as node bottom.