RemoteAST: More concision

This commit is contained in:
Slava Pestov
2019-03-04 17:51:09 -05:00
parent a4f560dc73
commit efa0b36ec8

View File

@@ -224,7 +224,7 @@ private:
getOffsetOfFieldFromIRGen(irgen::IRGenModule &IGM, Type type,
NominalTypeDecl *typeDecl,
RemoteAddress optMetadata, VarDecl *member) {
SILType loweredTy = IGM.getSILTypes().getLoweredType(type);
SILType loweredTy = IGM.getLoweredType(type);
MemberAccessStrategy strategy =
(isa<StructDecl>(typeDecl)
@@ -334,7 +334,7 @@ private:
if (!irgen) return Result<uint64_t>::emplaceFailure(Failure::Unknown);
auto &IGM = irgen->IGM;
SILType loweredTy = IGM.getSILTypes().getLoweredType(type);
SILType loweredTy = IGM.getLoweredType(type);
// If the type has a statically fixed offset, return that.
if (auto offset =