Lines Matching refs:Label
146 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
148 LabelOffsets.insert({Label, Target}); in emitLabel()
150 if (auto It = LabelRelocs.find(Label); in emitLabel()
165 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset() argument
172 if (auto It = LabelOffsets.find(Label); in getOffset()
177 LabelRelocs[Label].push_back(Position); in getOffset()
248 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
249 return emitJt(getOffset(Label), SourceInfo{}); in jumpTrue()
252 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
253 return emitJf(getOffset(Label), SourceInfo{}); in jumpFalse()
256 bool ByteCodeEmitter::jump(const LabelTy &Label) { in jump() argument
257 return emitJmp(getOffset(Label), SourceInfo{}); in jump()
260 bool ByteCodeEmitter::fallthrough(const LabelTy &Label) { in fallthrough() argument
261 emitLabel(Label); in fallthrough()