From 11a42a465511f65030474b789442f214df7c2d95 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 20 Jul 2010 22:20:10 +0000 Subject: Remove unused argument. llvm-svn: 108946 --- clang/lib/CodeGen/CodeGenFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index eb6c4361be8..baa8c6d58b7 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -139,7 +139,7 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) { // Emit debug descriptor for function end. if (CGDebugInfo *DI = getDebugInfo()) { DI->setLocation(EndLoc); - DI->EmitRegionEnd(CurFn, Builder); + DI->EmitRegionEnd(Builder); } EmitFunctionEpilog(*CurFnInfo); -- cgit v1.2.3