There is no real need in FuncDeclaration::labmap

This commit is contained in:
Alexey Prokhin 2014-09-22 12:26:12 +04:00
parent e4a7cf87d0
commit a0b9f95869
9 changed files with 20 additions and 52 deletions

View file

@ -1668,7 +1668,7 @@ public:
llvm::BasicBlock* oldend = gIR->scopeend();
llvm::BasicBlock* bb = llvm::BasicBlock::Create(gIR->context(), "aftergoto", irs->topfunc(), oldend);
DtoGoto(stmt->loc, stmt->label->ident, stmt->tf);
DtoGoto(stmt->loc, stmt->label, stmt->tf);
irs->scope() = IRScope(bb, oldend);
}