Mercurial > hg > truffle
comparison src/share/vm/opto/cfgnode.hpp @ 4137:04b9a2566eec
Merge with hsx23/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 17 Dec 2011 21:40:27 +0100 |
parents | c7b60b601eb4 |
children | d092d1b31229 |
comparison
equal
deleted
inserted
replaced
3737:9dc19b7d89a3 | 4137:04b9a2566eec |
---|---|
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; } |