forked from OSchip/llvm-project
parent
cb515c8b0a
commit
bceb904f91
|
@ -134,6 +134,7 @@ public:
|
|||
return EmitLoadOfLValue(E);
|
||||
}
|
||||
Value *VisitObjCMessageExpr(ObjCMessageExpr *E);
|
||||
Value *VisitObjCSelectorExpr(ObjCSelectorExpr *E);
|
||||
Value *VisitObjCIvarRefExpr(ObjCIvarRefExpr *E) { return EmitLoadOfLValue(E);}
|
||||
Value *VisitArraySubscriptExpr(ArraySubscriptExpr *E);
|
||||
Value *VisitShuffleVectorExpr(ShuffleVectorExpr *E);
|
||||
|
@ -501,6 +502,10 @@ Value *ScalarExprEmitter::VisitObjCMessageExpr(ObjCMessageExpr *E) {
|
|||
&Args[0], Args.size());
|
||||
}
|
||||
|
||||
Value *ScalarExprEmitter::VisitObjCSelectorExpr(ObjCSelectorExpr *E) {
|
||||
return Runtime->GetSelector(Builder, E->getSelector());
|
||||
}
|
||||
|
||||
Value *ScalarExprEmitter::VisitArraySubscriptExpr(ArraySubscriptExpr *E) {
|
||||
// Emit subscript expressions in rvalue context's. For most cases, this just
|
||||
// loads the lvalue formed by the subscript expr. However, we have to be
|
||||
|
|
Loading…
Reference in New Issue