Lines Matching defs:Label
204 void ByteCodeEmitter::emitLabel(LabelTy Label) {
206 LabelOffsets.insert({Label, Target});
208 if (auto It = LabelRelocs.find(Label);
223 int32_t ByteCodeEmitter::getOffset(LabelTy Label) {
230 if (auto It = LabelOffsets.find(Label);
235 LabelRelocs[Label].push_back(Position);
323 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) {
324 return emitJt(getOffset(Label), SourceInfo{});
327 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) {
328 return emitJf(getOffset(Label), SourceInfo{});
331 bool ByteCodeEmitter::jump(const LabelTy &Label) {
332 return emitJmp(getOffset(Label), SourceInfo{});
335 bool ByteCodeEmitter::fallthrough(const LabelTy &Label) {
336 emitLabel(Label);