Lines Matching full:label
33 * Label represents a branch target.
35 * BytecodeEmitter.Bind(const Label& label) method.
38 * Lifetime of a label must match lifetime of the emitter.
40 class Label {
42 explicit Label(std::list<uint32_t>::iterator pc) : pc_(pc) {} in Label() function
80 Label CreateLabel() in CreateLabel()
83 return Label(pc_list_.begin()); in CreateLabel()
87 * Bind the label with the current place in the final bytecode.
89 void Bind(const Label &label);
117 bool operator()(const Label &l1, const Label &l2) const in operator()
125 std::map<uint32_t, Label> branches_;
126 std::multiset<Label, LabelCmp> targets_;