From 0508acf10b3a4943f14fadb598902278fbb593b9 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Fri, 4 Jan 2013 07:06:16 +0100 Subject: [PATCH] Cleanup: Remove redundant piece of code. This case is already handled in DtoCreateNestedContextType. --- gen/nested.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gen/nested.cpp b/gen/nested.cpp index 48962c647e..30f6c7d863 100644 --- a/gen/nested.cpp +++ b/gen/nested.cpp @@ -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; } }