mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 11:26:02 +03:00
There is no real need in FuncDeclaration::labmap
This commit is contained in:
parent
e4a7cf87d0
commit
a0b9f95869
9 changed files with 20 additions and 52 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue