Skip to content

Commit efa0b36

Browse files
committed
RemoteAST: More concision
1 parent a4f560d commit efa0b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/RemoteAST/RemoteAST.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class RemoteASTContextImpl {
224224
getOffsetOfFieldFromIRGen(irgen::IRGenModule &IGM, Type type,
225225
NominalTypeDecl *typeDecl,
226226
RemoteAddress optMetadata, VarDecl *member) {
227-
SILType loweredTy = IGM.getSILTypes().getLoweredType(type);
227+
SILType loweredTy = IGM.getLoweredType(type);
228228

229229
MemberAccessStrategy strategy =
230230
(isa<StructDecl>(typeDecl)
@@ -334,7 +334,7 @@ class RemoteASTContextImpl {
334334
if (!irgen) return Result<uint64_t>::emplaceFailure(Failure::Unknown);
335335
auto &IGM = irgen->IGM;
336336

337-
SILType loweredTy = IGM.getSILTypes().getLoweredType(type);
337+
SILType loweredTy = IGM.getLoweredType(type);
338338

339339
// If the type has a statically fixed offset, return that.
340340
if (auto offset =

0 commit comments

Comments
 (0)