Commit 04e8bad
committed
[concurrency] Add a new method ActorIsolation::forActorInstanceSelf.
This occurs when working with ActorIsolation in SIL.
This lets us avoid needing to depend on the AST for getting ActorIsolation for
self parameters. Now, we can just create the actor isolation we need based off
of the decl that we have.
The code is based off of forActorInstanceSelf(ValueDecl *decl) along the path
where it just creates isolation based off of the decl's nominal type decl (which
is equivalent to what we are trying to do here).1 parent 19dd44b commit 04e8bad
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11370 | 11370 | | |
11371 | 11371 | | |
11372 | 11372 | | |
| 11373 | + | |
| 11374 | + | |
| 11375 | + | |
| 11376 | + | |
11373 | 11377 | | |
11374 | 11378 | | |
11375 | 11379 | | |
| |||
0 commit comments