LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
An assembly language comes with its syntax, its runtime library, and its layout of fragments. More...
#include <assembly.hh>
Public Member Functions | |
virtual const char * | runtime (bool gc=false) const =0 |
The runtime library. | |
assem::Layout & | layout_get () |
Return Assembly layout. | |
Ctor & dtor. | |
Assembly (assem::Layout &layout) | |
virtual | ~Assembly () |
Destroy an Assembly. |
Protected Attributes | |
assem::Layout & | layout_ |
The associated assembly layout. |
An assembly language comes with its syntax, its runtime library, and its layout of fragments.
See Builder and Factory 's design patterns.
target::Assembly::Assembly | ( | assem::Layout & | layout | ) |
|
virtual |
Destroy an Assembly.
assem::Layout & target::Assembly::layout_get | ( | ) |
|
pure virtual |
The runtime library.
Implemented in target::ia32::GasAssembly, and target::mips::SpimAssembly.
Referenced by target::runtime_dump().
|
protected |
The associated assembly layout.
Referenced by layout_get().