mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-20 04:10:18 +02:00
Fixed ldc1 compilation
This commit is contained in:
@@ -32,7 +32,9 @@ IRState::IRState(IRState *irs, Statement *s)
|
||||
sthis = irs->sthis;
|
||||
blx = irs->blx;
|
||||
deferToObj = irs->deferToObj;
|
||||
#if DMDV2
|
||||
varsInScope = irs->varsInScope;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -42,7 +44,9 @@ IRState::IRState(IRState *irs, Statement *s)
|
||||
sthis = NULL;
|
||||
blx = NULL;
|
||||
deferToObj = NULL;
|
||||
#if DMDV2
|
||||
varsInScope = NULL;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,9 @@ struct IRState
|
||||
Array *deferToObj; // array of Dsymbol's to run toObjFile(int multiobj) on later
|
||||
elem *ehidden; // transmit hidden pointer to CallExp::toElem()
|
||||
Symbol *startaddress;
|
||||
#if DMDV2
|
||||
Array *varsInScope; // variables that are in scope that will need destruction later
|
||||
#endif
|
||||
|
||||
block *breakBlock;
|
||||
block *contBlock;
|
||||
|
||||
Reference in New Issue
Block a user