Skip to content

Commit 9b69689

Browse files
committed
Fix name
1 parent 5dcd52a commit 9b69689

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ public static IntPtr AllocateTypeAssociatedMemory(Type type, int size, int align
509509
ThrowHelper.ThrowArgumentException(ExceptionResource.Argument_AlignmentMustBePow2);
510510
}
511511

512-
return AlignedAllocateTypeAssociatedMemory(new QCallTypeHandle(ref rt), (uint)size, (uint)alignment);
512+
return AllocateTypeAssociatedMemoryAligned(new QCallTypeHandle(ref rt), (uint)size, (uint)alignment);
513513
}
514514

515515
[LibraryImport(QCall, EntryPoint = "RuntimeTypeHandle_AllocateTypeAssociatedMemory")]

src/coreclr/vm/qcallentrypoints.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ static const Entry s_QCall[] =
157157
DllImportEntry(RuntimeTypeHandle_CreateInstanceForAnotherGenericParameter)
158158
DllImportEntry(RuntimeTypeHandle_InternalAlloc)
159159
DllImportEntry(RuntimeTypeHandle_InternalAllocNoChecks)
160-
DllImportEntry(RuntimeTypeHandle_AlignedAllocateTypeAssociatedMemory)
161160
DllImportEntry(RuntimeTypeHandle_AllocateTypeAssociatedMemory)
161+
DllImportEntry(RuntimeTypeHandle_AllocateTypeAssociatedMemoryAligned)
162162
DllImportEntry(RuntimeTypeHandle_RegisterCollectibleTypeDependency)
163163
DllImportEntry(MethodBase_GetCurrentMethod)
164164
DllImportEntry(RuntimeMethodHandle_InvokeMethod)

0 commit comments

Comments
 (0)