Skip to content

Commit ba9f627

Browse files
kavonktoso
authored andcommitted
minor clean-ups
1 parent 048e41e commit ba9f627

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

lib/SILGen/InitializeDistActorIdentity.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
namespace swift {
1616

17-
class AllocStackInst;
18-
1917
namespace Lowering {
2018

2119
/// A clean-up designed to emit an initialization of a distributed actor's

lib/SILGen/SILGenDistributed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ void SILGenFunction::emitDistributedActorReady(
330330

331331
// --- load the actor system from the actor instance
332332
ManagedValue actorSystem;
333-
SGFContext sgfCxt; // TODO: is this right?
333+
SGFContext sgfCxt;
334334
{
335335
VarDecl *property = lookupProperty(classDecl, C.Id_actorSystem);
336336
Type formalType = F.mapTypeIntoContext(property->getInterfaceType());

lib/SILGen/SILGenFunction.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,8 +2086,6 @@ class LLVM_LIBRARY_VISIBILITY SILGenFunction
20862086
SILValue selfVal,
20872087
SILValue actorSystemVal);
20882088

2089-
void registerDistActorIdentityInit();
2090-
20912089
/// Given a function representing a distributed actor factory, emits the
20922090
/// corresponding SIL function for it.
20932091
void emitDistributedActorFactory(

0 commit comments

Comments
 (0)