#include <VarNodes.h>
Inheritance diagram for PopVarNode:
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 |
Definition at line 28 of file VarNodes.h.
Definition at line 31 of file VarNodes.h.
References _dtype, acceptOp(), DataType::DT_BP, Node::rtype(), Type::T_WORD, and DataType::type().
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.
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().
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().
DataType PopVarNode::_dtype [private] |
Definition at line 68 of file VarNodes.h.
Referenced by PopVarNode(), print_asm(), print_bin(), and print_unk().