Skip to content

Commit 5daac06

Browse files
committed
[Distributed] Remove dead code
1 parent d54e56b commit 5daac06

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/SILGen/SILGenDistributed.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ static SILValue emitActorPropertyReference(
5151
VarDecl *property) {
5252
Type formalType = SGF.F.mapTypeIntoContext(property->getInterfaceType());
5353
SILType loweredType = SGF.getLoweredType(formalType).getAddressType();
54-
#if false
55-
if (!loweredType.isAddress()) {
56-
loweredType = SILType::getPrimitiveAddressType(
57-
formalType->getCanonicalType());
58-
}
59-
#endif
6054
return SGF.B.createRefElementAddr(loc, actorSelf, property, loweredType);
6155
}
6256

0 commit comments

Comments
 (0)