@@ -927,6 +927,7 @@ emitRValueForDecl(SILLocation loc, ConcreteDeclRef declRef, Type ncRefType,
927
927
}
928
928
929
929
RValue RValueEmitter::visitDeclRefExpr (DeclRefExpr *E, SGFContext C) {
930
+ assert (!E->isImplicitlyAsync () && " TODO: Implement SILGen lowering" );
930
931
return SGF.emitRValueForDecl (E, E->getDeclRef (), E->getType (),
931
932
E->getAccessSemantics (), C);
932
933
}
@@ -2182,6 +2183,7 @@ RValue RValueEmitter::visitMemberRefExpr(MemberRefExpr *e,
2182
2183
assert (!e->getType ()->is <LValueType>() &&
2183
2184
" RValueEmitter shouldn't be called on lvalues" );
2184
2185
assert (isa<VarDecl>(e->getMember ().getDecl ()));
2186
+ assert (!e->isImplicitlyAsync () && " TODO: Implement SILGen lowering" );
2185
2187
2186
2188
// Everything else should use the l-value logic.
2187
2189
@@ -2198,6 +2200,7 @@ RValue RValueEmitter::visitMemberRefExpr(MemberRefExpr *e,
2198
2200
2199
2201
RValue RValueEmitter::visitDynamicMemberRefExpr (DynamicMemberRefExpr *E,
2200
2202
SGFContext C) {
2203
+ assert (!E->isImplicitlyAsync () && " actors do not have @objc members" );
2201
2204
return SGF.emitDynamicMemberRefExpr (E, C);
2202
2205
}
2203
2206
@@ -2208,6 +2211,7 @@ visitDotSyntaxBaseIgnoredExpr(DotSyntaxBaseIgnoredExpr *E, SGFContext C) {
2208
2211
}
2209
2212
2210
2213
RValue RValueEmitter::visitSubscriptExpr (SubscriptExpr *E, SGFContext C) {
2214
+ assert (!E->isImplicitlyAsync () && " TODO: Implement SILGen lowering" );
2211
2215
// Any writebacks for this access are tightly scoped.
2212
2216
FormalEvaluationScope scope (SGF);
2213
2217
@@ -2219,6 +2223,7 @@ RValue RValueEmitter::visitSubscriptExpr(SubscriptExpr *E, SGFContext C) {
2219
2223
2220
2224
RValue RValueEmitter::visitDynamicSubscriptExpr (
2221
2225
DynamicSubscriptExpr *E, SGFContext C) {
2226
+ assert (!E->isImplicitlyAsync () && " actors do not have @objc members" );
2222
2227
return SGF.emitDynamicSubscriptExpr (E, C);
2223
2228
}
2224
2229
0 commit comments