llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
Constructor/Destructor information. More...
#include <core/xtor.h>
Public Types | |
enum | Kind { CTOR, DTOR } |
Constructor/destructor kinds. | |
Public Member Functions | |
Xtor (int priority, Global *g, Kind k) | |
int | GetPriority () const |
Returns the priority. | |
Func * | GetFunc () const |
Return the function. | |
Kind | GetKind () const |
Return the kind. | |
void | removeFromParent () |
Removes an atom from the data section. | |
void | eraseFromParent () |
Removes an parent from the data section, erasing it. | |
Prog * | getParent () const |
Returns a pointer to the parent program. | |
Constructor/Destructor information.