aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-10-12 18:39:35 +0000
committerEric Christopher <echristo@apple.com>2011-10-12 18:39:35 +0000
commit28e06354b5d4dd539be6781e388ff27c0dffd807 (patch)
tree6e224a320ad39dcab3b12a05e16bd4a6c97d162e /lib/CodeGen/CGClass.cpp
parentd596c4d3f8931f4d479e965bf46d0e7edad85570 (diff)
Revert file/scope handling patches. gdb testing revealed a couple of bugs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
-rw-r--r--lib/CodeGen/CGClass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp
index c28ecc05de..2ddb5025b1 100644
--- a/lib/CodeGen/CGClass.cpp
+++ b/lib/CodeGen/CGClass.cpp
@@ -693,7 +693,7 @@ void CodeGenFunction::EmitConstructorBody(FunctionArgList &Args) {
// delegation optimization.
if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor)) {
if (CGDebugInfo *DI = getDebugInfo())
- DI->EmitLocation(Builder, Ctor->getLocEnd());
+ DI->EmitLocation(Builder);
EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args);
return;
}