#include <assembler.hpp>
Inheritance diagram for Label:
Public Member Functions | |
bool | is_bound () const |
bool | is_unbound () const |
bool | is_unused () const |
Label () | |
~Label () | |
Private Member Functions | |
int | pos () const |
void | bind_to (int pos) |
void | link_to (int pos) |
void | unuse () |
Private Attributes | |
int | _pos |
Friends | |
class | Assembler |
class | MacroAssembler |
class | Displacement |
Definition at line 68 of file assembler.hpp.
Label::Label | ( | ) | [inline] |
Definition at line 94 of file assembler.hpp.
Label::~Label | ( | ) | [inline] |
Definition at line 95 of file assembler.hpp.
References assert, and is_unbound().
Here is the call graph for this function:
void Label::bind_to | ( | int | pos | ) | [inline, private] |
bool Label::is_bound | ( | ) | const [inline] |
bool Label::is_unbound | ( | ) | const [inline] |
Definition at line 91 of file assembler.hpp.
References _pos.
Referenced by Assembler::bind(), Assembler::finalize(), Assembler::jmp(), Assembler::link_to(), and ~Label().
bool Label::is_unused | ( | ) | const [inline] |
void Label::link_to | ( | int | pos | ) | [inline, private] |
int Label::pos | ( | ) | const [inline, private] |
void Label::unuse | ( | ) | [inline, private] |
friend class Assembler [friend] |
Definition at line 97 of file assembler.hpp.
friend class Displacement [friend] |
Definition at line 99 of file assembler.hpp.
friend class MacroAssembler [friend] |
Definition at line 98 of file assembler.hpp.
int Label::_pos [private] |
Definition at line 76 of file assembler.hpp.
Referenced by bind_to(), is_bound(), is_unbound(), is_unused(), link_to(), pos(), and unuse().