mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 01:39:03 +02:00
[svn r41] new'd dynamic arrays are now initialized with the element type's default initializer.
initial label/goto support.
This commit is contained in:
@@ -3464,7 +3464,8 @@ LabelStatement::LabelStatement(Loc loc, Identifier *ident, Statement *statement)
|
||||
this->statement = statement;
|
||||
this->tf = NULL;
|
||||
this->lblock = NULL;
|
||||
this->isReturnLabel = 0;
|
||||
this->isReturnLabel = 0;
|
||||
this->llvmBB = NULL;
|
||||
}
|
||||
|
||||
Statement *LabelStatement::syntaxCopy()
|
||||
|
||||
@@ -51,7 +51,8 @@ enum TOK;
|
||||
|
||||
namespace llvm
|
||||
{
|
||||
class Value;
|
||||
class Value;
|
||||
class BasicBlock;
|
||||
}
|
||||
|
||||
// Back end
|
||||
@@ -714,7 +715,9 @@ struct LabelStatement : Statement
|
||||
|
||||
Statement *inlineScan(InlineScanState *iss);
|
||||
|
||||
void toIR(IRState *irs);
|
||||
void toIR(IRState *irs);
|
||||
|
||||
llvm::BasicBlock* llvmBB;
|
||||
};
|
||||
|
||||
struct LabelDsymbol : Dsymbol
|
||||
|
||||
Reference in New Issue
Block a user