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 *
2109
2109
nonIsolatedType));
2110
2110
}
2111
2111
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);
2115
2118
}
2116
2119
2117
2120
RValue RValueEmitter::visitErasureExpr (ErasureExpr *E, SGFContext C) {
You can’t perform that action at this time.
0 commit comments