mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
Cleanup: Remove redundant piece of code.
This case is already handled in DtoCreateNestedContextType.
This commit is contained in:
parent
a797e686a0
commit
0508acf10b
1 changed files with 0 additions and 5 deletions
|
@ -537,10 +537,5 @@ void DtoCreateNestedContext(FuncDeclaration* fd) {
|
||||||
DtoDwarfLocalVariable(frame, vd, addr);
|
DtoDwarfLocalVariable(frame, vd, addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (FuncDeclaration* parFunc = getParentFunc(fd, true)) {
|
|
||||||
// Propagate context arg properties if the context arg is passed on unmodified.
|
|
||||||
DtoDeclareFunction(parFunc);
|
|
||||||
fd->ir.irFunc->frameType = parFunc->ir.irFunc->frameType;
|
|
||||||
fd->ir.irFunc->depth = parFunc->ir.irFunc->depth;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue