#include <Folder.h>
Inheritance diagram for Unit:
Public Member Functions | |
Unit (const uint32 _id) | |
void | print_extern_unk (Console &o, const uint32 isize) const |
void | print_unk (Console &o, const uint32 isize) const |
void | print_asm (Console &o) const |
void | print_bin (ODequeDataSource &o) const |
Public Attributes | |
std::string | name |
uint32 | id |
std::set< DCCallNode * > | externFuncs |
std::set< DCCallNode * > | externIntrinsics |
std::deque< DCFuncNode * > | functions |
Definition at line 33 of file Folder.h.
void Unit::print_asm | ( | Console & | o | ) | const |
Definition at line 76 of file Folder.cpp.
References functions, and Console::Putchar().
Referenced by DCUnit::fold(), and print_assert().
void Unit::print_bin | ( | ODequeDataSource & | o | ) | const |
Definition at line 85 of file Folder.cpp.
References ODequeDataSource::buf(), ODequeDataSource::clear(), con, functions, Console::Printf(), and Console::Putchar().
Definition at line 35 of file Folder.cpp.
References externFuncs, externIntrinsics, indent(), Console::Print(), and Console::Putchar().
Referenced by DCUnit::fold().
Definition at line 57 of file Folder.cpp.
References functions, indent(), and Console::Print().
Referenced by DCUnit::fold(), and print_assert().
std::set<DCCallNode *> Unit::externFuncs |
Definition at line 46 of file Folder.h.
Referenced by print_extern_unk(), and DCUnit::registerExternFunc().
std::set<DCCallNode *> Unit::externIntrinsics |
Definition at line 47 of file Folder.h.
Referenced by print_extern_unk(), and DCUnit::registerExternIntrinsic().
std::deque<DCFuncNode *> Unit::functions |
Definition at line 48 of file Folder.h.
Referenced by DCUnit::fold(), print_asm(), print_assert(), print_bin(), and print_unk().
std::string Unit::name |