diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-21 04:05:54 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-21 04:05:54 +0000 |
commit | 76695ca7ae85f164865c3650ca44720217aa78b3 (patch) | |
tree | 50596ef290413c77a3b03649e7dbb7b7b24d3875 /lib | |
parent | f1fbda380b200923ea6275c61cd22cc99d4d75c0 (diff) |
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 88b6d1935a..f4ff951be2 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -144,9 +144,8 @@ LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, // FIXME: We need to set a very conservative alignment on this, or make sure // that the runtime is doing the right thing. - Qualifiers Quals = CGF.MakeQualifiers(IvarTy); - Quals.addCVRQualifiers(CVRQualifiers); - return LValue::MakeBitfield(V, *Info, Quals.getCVRQualifiers()); + return LValue::MakeBitfield(V, *Info, + IvarTy.getCVRQualifiers() | CVRQualifiers); } /// |