mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 16:41:06 +03:00
[svn r141] fixed more problems with classinfo
moved more IR state out of the AST classes
This commit is contained in:
parent
5652546986
commit
17247d63e7
18 changed files with 311 additions and 267 deletions
|
@ -130,13 +130,12 @@ void ExpStatement::toIR(IRState* p)
|
|||
Logger::println("ExpStatement::toIR(): %s", loc.toChars());
|
||||
LOG_SCOPE;
|
||||
|
||||
if (global.params.llvmAnnotate)
|
||||
DtoAnnotation(exp->toChars());
|
||||
|
||||
if (global.params.symdebug)
|
||||
DtoDwarfStopPoint(loc.linnum);
|
||||
|
||||
if (exp != 0) {
|
||||
if (exp) {
|
||||
if (global.params.llvmAnnotate)
|
||||
DtoAnnotation(exp->toChars());
|
||||
elem* e = exp->toElem(p);
|
||||
delete e;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue