diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-30 05:42:12 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-30 05:42:12 +0000 |
commit | fef37f81b4ef71c4102979551a9e58e43334c5c2 (patch) | |
tree | e42e017cd9f540103b77f3d64f401388fad2bd08 /clang/lib/CodeGen/CGObjC.cpp | |
parent | 97f042f2d610cbe83284c5da91a92bec47bff9a8 (diff) | |
download | bcm5719-llvm-fef37f81b4ef71c4102979551a9e58e43334c5c2.tar.gz bcm5719-llvm-fef37f81b4ef71c4102979551a9e58e43334c5c2.zip |
Revert previous commit changing location information to see if this
is causing the gdb test failures on the bots.
llvm-svn: 153727
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index b3460aef2d9..b4fc6e0ffa4 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -708,7 +708,7 @@ void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP, const ObjCPropertyDecl *PD = PID->getPropertyDecl(); ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); assert(OMD && "Invalid call to generate getter (empty method)"); - StartObjCMethod(OMD, IMP->getClassInterface(), OMD->getLocStart()); + StartObjCMethod(OMD, IMP->getClassInterface(), PID->getLocStart()); generateObjCGetterBody(IMP, PID, AtomicHelperFn); @@ -1216,7 +1216,7 @@ void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP, const ObjCPropertyDecl *PD = PID->getPropertyDecl(); ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); assert(OMD && "Invalid call to generate setter (empty method)"); - StartObjCMethod(OMD, IMP->getClassInterface(), OMD->getLocStart()); + StartObjCMethod(OMD, IMP->getClassInterface(), PID->getLocStart()); generateObjCSetterBody(IMP, PID, AtomicHelperFn); |