diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-10-26 21:58:25 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-10-26 21:58:25 +0000 |
commit | 52f08bcbb81c750ed62b53ed0b34aff16143b877 (patch) | |
tree | 7815f4eb19076c42b4ccbdc111c3d2351a222dc0 /lib/CodeGen/CGExprAgg.cpp | |
parent | 06bc9bcc705e5fee714d4b00c3c3c9f01715c195 (diff) |
Add Code gen support for '->*' operator which fell
through the crack.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
-rw-r--r-- | lib/CodeGen/CGExprAgg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index 5f12d427cf..901f867a59 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp @@ -329,7 +329,8 @@ void AggExprEmitter::VisitStmtExpr(const StmtExpr *E) { } void AggExprEmitter::VisitBinaryOperator(const BinaryOperator *E) { - if (E->getOpcode() == BinaryOperator::PtrMemD) + if (E->getOpcode() == BinaryOperator::PtrMemD || + E->getOpcode() == BinaryOperator::PtrMemI) VisitPointerToDataMemberBinaryOperator(E); else CGF.ErrorUnsupported(E, "aggregate binary expression"); |