Lines Matching defs:label
276 void AsmJsParser::Begin(AsmJsScanner::token_t label) {
277 BareBegin(BlockKind::kRegular, label);
281 void AsmJsParser::Loop(AsmJsScanner::token_t label) {
282 BareBegin(BlockKind::kLoop, label);
293 void AsmJsParser::BareBegin(BlockKind kind, AsmJsScanner::token_t label) {
296 info.label = label;
305 int AsmJsParser::FindContinueLabelDepth(AsmJsScanner::token_t label) {
310 // - The innermost {kLoop} block if no label is given.
311 // - The matching {kLoop} block (when a label is provided).
313 (label == kTokenNone || it->label == label)) {
320 int AsmJsParser::FindBreakLabelDepth(AsmJsScanner::token_t label) {
325 // - The innermost {kRegular} block if no label is given.
326 // - The matching {kRegular} or {kNamed} block (when a label is provided).
328 (label == kTokenNone || it->label == label)) ||
329 (it->kind == BlockKind::kNamed && it->label == label)) {
1303 FAIL("Double label unsupported");
1553 // valid code, as it might be a label.