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; } |