Lines Matching defs:label
535 void RawMachineAssembler::Goto(RawMachineLabel* label) {
537 schedule()->AddGoto(CurrentBlock(), Use(label));
789 BasicBlock* RawMachineAssembler::Use(RawMachineLabel* label) {
790 label->used_ = true;
791 return EnsureBlock(label);
794 BasicBlock* RawMachineAssembler::EnsureBlock(RawMachineLabel* label) {
795 if (label->block_ == nullptr) {
796 label->block_ = schedule()->NewBasicBlock();
798 return label->block_;
801 void RawMachineAssembler::Bind(RawMachineLabel* label) {
803 DCHECK(!label->bound_);
804 label->bound_ = true;
805 current_block_ = EnsureBlock(label);
806 current_block_->set_deferred(label->deferred_);
810 void RawMachineAssembler::Bind(RawMachineLabel* label,
814 str << "Binding label without closing previous block:"
815 << "\n# label: " << info
819 Bind(label);
876 str << "A label has been bound but it's not used."
877 << "\n# label: " << *block_;
879 str << "A label has been used but it's not bound.";