File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2109,9 +2109,12 @@ RValue RValueEmitter::visitActorIsolationErasureExpr(ActorIsolationErasureExpr *
21092109 nonIsolatedType));
21102110}
21112111
2112- RValue RValueEmitter::visitExtractFunctionIsolationExpr (ExtractFunctionIsolationExpr *E,
2113- SGFContext C) {
2114- llvm_unreachable (" not yet implemented for ExtractFunctionIsolationExpr" );
2112+ RValue RValueEmitter::visitExtractFunctionIsolationExpr (
2113+ ExtractFunctionIsolationExpr *E, SGFContext C) {
2114+ auto arg = SGF.emitRValue (E->getFunctionExpr ());
2115+ auto result = SGF.emitExtractFunctionIsolation (
2116+ E, ArgumentSource (E, std::move (arg)), C);
2117+ return RValue (SGF, E, result);
21152118}
21162119
21172120RValue RValueEmitter::visitErasureExpr (ErasureExpr *E, SGFContext C) {
You can’t perform that action at this time.
0 commit comments