Cleanup: Remove redundant piece of code.

This case is already handled in DtoCreateNestedContextType.
This commit is contained in:
David Nadlinger 2013-01-04 07:06:16 +01:00
parent a797e686a0
commit 0508acf10b

View file

@ -537,10 +537,5 @@ void DtoCreateNestedContext(FuncDeclaration* fd) {
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;
}
}