diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-18 17:29:46 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-18 17:29:46 +0000 |
commit | f8f0c6b1bcf04f2a959e3afb8ef628d990716b50 (patch) | |
tree | b5223763f3491120b882a0d1e0832aff85129e18 /clang/lib/CodeGen/CGExpr.cpp | |
parent | d96f7cca5f7874046047a3c3884ad84e31eb6e3a (diff) | |
download | bcm5719-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.cpp | 4 |
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 |