PopVarNode Class Reference

#include <VarNodes.h>

Inheritance diagram for PopVarNode:

UniNode Node PrintHelperNode List of all members.

Public Member Functions

 PopVarNode (const uint32 opcode, const uint32 offset, const uint32 newValue)
 PopVarNode (const uint32 opcode, const uint32 offset)
 ~PopVarNode ()
void print_unk (Console &o, const uint32 isize) const
void print_asm (Console &o) const
void print_bin (ODequeDataSource &o) const
bool fold (DCUnit *, std::deque< Node * > &nodes)

Private Attributes

DataType _dtype

Detailed Description

Definition at line 28 of file VarNodes.h.


Constructor & Destructor Documentation

PopVarNode::PopVarNode ( const uint32  opcode,
const uint32  offset,
const uint32  newValue 
) [inline]

Definition at line 31 of file VarNodes.h.

References _dtype, acceptOp(), DataType::DT_BP, Node::rtype(), Type::T_WORD, and DataType::type().

PopVarNode::PopVarNode ( const uint32  opcode,
const uint32  offset 
) [inline]

Definition at line 44 of file VarNodes.h.

References _dtype, acceptOp(), DataType::DT_TEMP, Node::rtype(), Type::T_WORD, and DataType::type().

PopVarNode::~PopVarNode (  )  [inline]

Definition at line 57 of file VarNodes.h.


Member Function Documentation

bool PopVarNode::fold ( DCUnit ,
std::deque< Node * > &  nodes 
) [virtual]

Implements Node.

Definition at line 140 of file VarNodes.cpp.

References Node::fold_linenum(), UniNode::grab_n(), print_assert(), and Node::rtype().

void PopVarNode::print_asm ( Console o  )  const [virtual]

Reimplemented from Node.

Definition at line 87 of file VarNodes.cpp.

References _dtype, DataType::DT_BP, DataType::DT_TEMP, DataType::dtype(), UniNode::node, Node::print_asm(), Node::print_linenum_asm(), DataType::print_value_asm(), Console::Printf(), Console::Putchar(), Type::T_WORD, Type::type(), and DataType::type().

void PopVarNode::print_bin ( ODequeDataSource o  )  const [virtual]

Implements Node.

Definition at line 115 of file VarNodes.cpp.

References _dtype, DataType::DT_BP, DataType::DT_TEMP, DataType::dtype(), UniNode::node, Node::print_bin(), Node::print_linenum_bin(), DataType::print_value_bin(), Type::T_WORD, Type::type(), DataType::type(), and ODequeDataSource::write1().

void PopVarNode::print_unk ( Console o,
const uint32  isize 
) const [virtual]

Implements Node.

Definition at line 74 of file VarNodes.cpp.

References _dtype, UniNode::node, Console::Print(), Node::print_linenum_unk(), DataType::print_type_unk(), Node::print_unk(), DataType::print_value_unk(), and Console::Putchar().


Member Data Documentation

DataType PopVarNode::_dtype [private]

Definition at line 68 of file VarNodes.h.

Referenced by PopVarNode(), print_asm(), print_bin(), and print_unk().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:47 2007 for pentagram by  doxygen 1.4.7