summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2008-12-18 17:29:46 +0000
committerFariborz Jahanian <fjahanian@apple.com>2008-12-18 17:29:46 +0000
commitf8f0c6b1bcf04f2a959e3afb8ef628d990716b50 (patch)
treeb5223763f3491120b882a0d1e0832aff85129e18 /clang/lib/CodeGen/CGExpr.cpp
parentd96f7cca5f7874046047a3c3884ad84e31eb6e3a (diff)
downloadbcm5719-llvm-f8f0c6b1bcf04f2a959e3afb8ef628d990716b50.tar.gz
bcm5719-llvm-f8f0c6b1bcf04f2a959e3afb8ef628d990716b50.zip
Removed a slot in ObjCMemRegExpr used in
code gen which did not belong there. llvm-svn: 61203
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 31b63d1fbcd..59d7108e19f 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -995,8 +995,8 @@ LValue CodeGenFunction::EmitObjCIvarRefLValue(const ObjCIvarRefExpr *E) {
CVRQualifiers = BaseExpr->getType().getCVRQualifiers();
}
- return EmitLValueForIvar(BaseValue, E->getDecl(), E->getFieldDecl(),
- CVRQualifiers);
+ return EmitLValueForIvar(BaseValue, E->getDecl(),
+ getContext().getFieldDecl(E), CVRQualifiers);
}
LValue
OpenPOWER on IntegriCloud