mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Cleanup: Remove redundant piece of code.
This case is already handled in DtoCreateNestedContextType.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user