@@ -162,7 +162,7 @@ NESTED_ENTRY RhpNewObject, _TEXT, NoHandler
162162
163163 mov r2 , # 0 // numElements
164164
165- // void * RhpGcAlloc(MethodTable * pEEType , uint32_t uFlags , uintptr_t numElements , void * pTransitionFrame)
165+ // void * RhpGcAlloc(MethodTable * pEEType , uint32_t uFlags , intptr_t numElements , void * pTransitionFrame)
166166 blx C_FUNC(RhpGcAlloc)
167167
168168 cbz r0 , LOCAL_LABEL(NewOutOfMemory)
@@ -369,7 +369,7 @@ NESTED_ENTRY RhpNewVariableSizeObject, _TEXT, NoHandler
369369 mov r2 , r1 // numElements
370370 mov r1 , # 0 // uFlags
371371
372- // void * RhpGcAlloc(MethodTable * pEEType , uint32_t uFlags , uintptr_t numElements , void * pTransitionFrame)
372+ // void * RhpGcAlloc(MethodTable * pEEType , uint32_t uFlags , intptr_t numElements , void * pTransitionFrame)
373373 blx C_FUNC(RhpGcAlloc)
374374
375375 // Test for failure (NULL return).
@@ -414,7 +414,7 @@ NESTED_ENTRY RhpNewArrayFastAlign8, _TEXT, NoHandler
414414 mov r2 , r1 // numElements
415415 mov r1 , #GC_ALLOC_ALIGN8 // uFlags
416416
417- // void * RhpGcAlloc(MethodTable * pEEType , uint32_t uFlags , uintptr_t numElements , void * pTransitionFrame)
417+ // void * RhpGcAlloc(MethodTable * pEEType , uint32_t uFlags , intptr_t numElements , void * pTransitionFrame)
418418 blx C_FUNC(RhpGcAlloc)
419419
420420 // Test for failure (NULL return).
0 commit comments