mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-25 16:45:21 +02:00
[svn r374] Move label target basic block from AST to IRFunction. This is a first step to allowing labels to be emitted multiple times. (for instance within finally blocks)
This commit is contained in:
@@ -3883,7 +3883,6 @@ LabelStatement::LabelStatement(Loc loc, Identifier *ident, Statement *statement)
|
||||
this->enclosinghandler = NULL;
|
||||
this->lblock = NULL;
|
||||
this->isReturnLabel = 0;
|
||||
this->llvmBB = NULL;
|
||||
this->asmLabel = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -871,7 +871,6 @@ struct LabelStatement : Statement
|
||||
void toIR(IRState *irs);
|
||||
|
||||
// LLVMDC
|
||||
llvm::BasicBlock* llvmBB;
|
||||
bool asmLabel; // for labels inside inline assembler
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user