diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-03 20:26:23 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-03 20:26:23 +0000 |
commit | f0c0337bbfb63d1f9edf145aab535bdf82c20454 (patch) | |
tree | de30bd60d1dbee4bf7ef487139b3ceb8781c82db /lib/CodeGen/CGObjCGNU.cpp | |
parent | 570918821a8492048e6ab54955c9864bd6c3e952 (diff) |
Notes
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp index 9f6ccb4b5d266..821629c50d4a1 100644 --- a/lib/CodeGen/CGObjCGNU.cpp +++ b/lib/CodeGen/CGObjCGNU.cpp @@ -663,7 +663,7 @@ class CGObjCGNUstep : public CGObjCGNU { } // The lookup function is guaranteed not to capture the receiver pointer. - LookupFn->setDoesNotCapture(1); + LookupFn->addParamAttr(0, llvm::Attribute::NoCapture); llvm::Value *args[] = { EnforceType(Builder, ReceiverPtr.getPointer(), PtrToIdTy), |