comparison src/share/vm/opto/cfgnode.hpp @ 3842:c7b60b601eb4

7069452: Cleanup NodeFlags Summary: Remove flags which duplicate information in Node::NodeClasses. Reviewed-by: never
author kvn
date Wed, 27 Jul 2011 17:28:36 -0700
parents f95d63e2154a
children d092d1b31229
comparison
equal deleted inserted replaced
3841:0f34fdee809e 3842:c7b60b601eb4
215 215
216 //------------------------------GotoNode--------------------------------------- 216 //------------------------------GotoNode---------------------------------------
217 // GotoNodes perform direct branches. 217 // GotoNodes perform direct branches.
218 class GotoNode : public Node { 218 class GotoNode : public Node {
219 public: 219 public:
220 GotoNode( Node *control ) : Node(control) { 220 GotoNode( Node *control ) : Node(control) {}
221 init_flags(Flag_is_Goto);
222 }
223 virtual int Opcode() const; 221 virtual int Opcode() const;
224 virtual bool pinned() const { return true; } 222 virtual bool pinned() const { return true; }
225 virtual bool is_CFG() const { return true; } 223 virtual bool is_CFG() const { return true; }
226 virtual uint hash() const { return NO_HASH; } // CFG nodes do not hash 224 virtual uint hash() const { return NO_HASH; } // CFG nodes do not hash
227 virtual const Node *is_block_proj() const { return this; } 225 virtual const Node *is_block_proj() const { return this; }