Jump instruction to some label. More...
#include <Jump.h>
Public Member Functions | |
Jump (Label *l, il::node *original) | |
virtual string | to_string () const |
virtual string | to_string (bool pretty_print) const |
void | set_label (Label *l) |
Label * | get_label () |
virtual bool | is_removable () |
Friends | |
class | boost::serialization::access |
Jump instruction to some label.
Label * sail::Jump::get_label | ( | ) |
bool sail::Jump::is_removable | ( | ) | [virtual] |
An instruction is removable if it's not present in the original source code, but introduced in the translation from the high-level language to the low-level language. For instance, if **x is an expression used in the original code, the low-level language will introduce a temporary t=*x; such instructions are "removable" for printing purposes.
Implements sail::Instruction.