[NFC] Corrected typo.

ClassMetadataLayout::getOffsett -> ClassMetadataLayout::getOffset
This commit is contained in:
Nate Chandler
2020-10-28 16:18:13 -07:00
parent bb1b4793f5
commit 4156382f07
2 changed files with 2 additions and 2 deletions

View File

@@ -2522,7 +2522,7 @@ FunctionPointer irgen::emitVirtualMethodValue(IRGenFunction &IGF,
IGF.IGM.getClassMetadataLayout(classDecl).getMethodInfo(IGF, method);
switch (methodInfo.getKind()) {
case ClassMetadataLayout::MethodInfo::Kind::Offset: {
auto offset = methodInfo.getOffsett();
auto offset = methodInfo.getOffset();
auto slot = IGF.emitAddressAtOffset(metadata, offset,
signature.getType()->getPointerTo(),