diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-12-09 23:35:29 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-12-09 23:35:29 +0000 |
commit | 820bca41c3899374775d2a1dfc2ef2e22aaf1c7b (patch) | |
tree | d9c8cd5865583661924ca02932b16de191f899d9 /lib/CodeGen/CGExpr.cpp | |
parent | 76958099828bac6ebd45abef9f76934b3e99e397 (diff) |
Code gen for ObjCIsaExpr AST used as lvalue.
(fixes radar 7457534).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index fde944ffcd..873c28cdef 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -245,6 +245,8 @@ LValue CodeGenFunction::EmitLValue(const Expr *E) { switch (E->getStmtClass()) { default: return EmitUnsupportedLValue(E, "l-value expression"); + case Expr::ObjCIsaExprClass: + return EmitObjCIsaExpr(cast<ObjCIsaExpr>(E)); case Expr::BinaryOperatorClass: return EmitBinaryOperatorLValue(cast<BinaryOperator>(E)); case Expr::CallExprClass: |