@@ -255,7 +255,7 @@ uint8_t *TR::ARM64CallSnippet::emitSnippetBody()
255
255
cursor += 4 ;
256
256
257
257
// Store the code cache RA
258
- *(intptrj_t *)cursor = (intptrj_t )getCallRA ();
258
+ *(intptr_t *)cursor = (intptr_t )getCallRA ();
259
259
cg ()->addExternalRelocation (new (cg ()->trHeapMemory ()) TR::ExternalRelocation (
260
260
cursor,
261
261
NULL ,
@@ -270,7 +270,7 @@ uint8_t *TR::ARM64CallSnippet::emitSnippetBody()
270
270
// Store the method pointer: it is NULL for unresolved
271
271
if (methodSymRef->isUnresolved () || comp->compileRelocatableCode ())
272
272
{
273
- *(intptrj_t *)cursor = 0 ;
273
+ *(intptr_t *)cursor = 0 ;
274
274
if (comp->getOption (TR_EnableHCR))
275
275
{
276
276
cg ()->jitAddPicToPatchOnClassRedefinition ((void *)-1 , (void *)cursor, true );
@@ -281,7 +281,7 @@ uint8_t *TR::ARM64CallSnippet::emitSnippetBody()
281
281
}
282
282
else
283
283
{
284
- *(intptrj_t *)cursor = (intptrj_t )methodSymbol->getMethodAddress ();
284
+ *(intptr_t *)cursor = (intptr_t )methodSymbol->getMethodAddress ();
285
285
if (comp->getOption (TR_EnableHCR))
286
286
{
287
287
cg ()->jitAddPicToPatchOnClassRedefinition ((void *)methodSymbol->getMethodAddress (), (void *)cursor);
@@ -335,12 +335,12 @@ uint8_t *TR::ARM64UnresolvedCallSnippet::emitSnippetBody()
335
335
336
336
TR::SymbolReference *methodSymRef = getNode ()->getSymbolReference ();
337
337
TR::MethodSymbol *methodSymbol = methodSymRef->getSymbol ()->castToMethodSymbol ();
338
- intptrj_t helperLookupOffset;
338
+ intptr_t helperLookupOffset;
339
339
340
340
TR::Compilation* comp = cg ()->comp ();
341
341
342
342
// CP
343
- *(intptrj_t *)cursor = (intptrj_t )methodSymRef->getOwningMethod (comp)->constantPool ();
343
+ *(intptr_t *)cursor = (intptr_t )methodSymRef->getOwningMethod (comp)->constantPool ();
344
344
345
345
if (comp->compileRelocatableCode () && comp->getOption (TR_TraceRelocatableDataDetailsCG))
346
346
{
@@ -382,7 +382,7 @@ uint8_t *TR::ARM64UnresolvedCallSnippet::emitSnippetBody()
382
382
}
383
383
384
384
// CP index and helper offset
385
- *(intptrj_t *)cursor = (helperLookupOffset<<56 ) | methodSymRef->getCPIndexForVM ();
385
+ *(intptr_t *)cursor = (helperLookupOffset<<56 ) | methodSymRef->getCPIndexForVM ();
386
386
387
387
return cursor + 8 ;
388
388
}
@@ -417,7 +417,7 @@ uint8_t *TR::ARM64VirtualUnresolvedSnippet::emitSnippetBody()
417
417
cursor += 4 ;
418
418
419
419
// Store the code cache RA
420
- *(intptrj_t *)cursor = (intptrj_t )getReturnLabel ()->getCodeLocation ();
420
+ *(intptr_t *)cursor = (intptr_t )getReturnLabel ()->getCodeLocation ();
421
421
cg ()->addExternalRelocation (new (cg ()->trHeapMemory ()) TR::ExternalRelocation (
422
422
cursor,
423
423
NULL ,
@@ -426,8 +426,8 @@ uint8_t *TR::ARM64VirtualUnresolvedSnippet::emitSnippetBody()
426
426
cursor += 8 ;
427
427
428
428
// CP
429
- intptrj_t cpAddr = (intptrj_t )methodSymRef->getOwningMethod (comp)->constantPool ();
430
- *(intptrj_t *)cursor = cpAddr;
429
+ intptr_t cpAddr = (intptr_t )methodSymRef->getOwningMethod (comp)->constantPool ();
430
+ *(intptr_t *)cursor = cpAddr;
431
431
uint8_t *j2iThunkRelocationPoint = cursor;
432
432
cg ()->addExternalRelocation (new (cg ()->trHeapMemory ()) TR::ExternalRelocation (
433
433
cursor,
@@ -438,18 +438,18 @@ uint8_t *TR::ARM64VirtualUnresolvedSnippet::emitSnippetBody()
438
438
cursor += 8 ;
439
439
440
440
// CP index
441
- *(intptrj_t *)cursor = methodSymRef->getCPIndexForVM ();
441
+ *(intptr_t *)cursor = methodSymRef->getCPIndexForVM ();
442
442
cursor += 8 ;
443
443
444
444
// Reserved spot to hold J9Method pointer of the callee
445
445
// This is used for private nestmate calls
446
446
// Initial value is 0
447
- *(intptrj_t *)cursor = 0 ;
447
+ *(intptr_t *)cursor = 0 ;
448
448
cursor += 8 ;
449
449
450
450
// J2I thunk address
451
451
// This is used for private nestmate calls
452
- *(intptrj_t *)cursor = (intptrj_t )thunk;
452
+ *(intptr_t *)cursor = (intptr_t )thunk;
453
453
454
454
auto info =
455
455
(TR_RelocationRecordInformation *)comp->trMemory ()->allocateMemory (
@@ -463,7 +463,7 @@ uint8_t *TR::ARM64VirtualUnresolvedSnippet::emitSnippetBody()
463
463
info->data2 = callNode ? callNode->getInlinedSiteIndex () : (uintptr_t )-1 ;
464
464
465
465
// data3 = distance in bytes from Constant Pool Pointer to J2I Thunk
466
- info->data3 = (intptrj_t )cursor - (intptrj_t )j2iThunkRelocationPoint;
466
+ info->data3 = (intptr_t )cursor - (intptr_t )j2iThunkRelocationPoint;
467
467
468
468
cg ()->addExternalRelocation (new (cg ()->trHeapMemory ()) TR::ExternalRelocation (
469
469
j2iThunkRelocationPoint,
@@ -494,7 +494,7 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64VirtualUnresolvedSnippet * snippet)
494
494
cursor += sizeof (intptr_t );
495
495
496
496
printPrefix (pOutFile, NULL , cursor, sizeof (intptr_t ));
497
- trfprintf (pOutFile, " .dword \t " POINTER_PRINTF_FORMAT " \t\t ; Constant pool address" , *(intptrj_t *)cursor);
497
+ trfprintf (pOutFile, " .dword \t " POINTER_PRINTF_FORMAT " \t\t ; Constant pool address" , *(intptr_t *)cursor);
498
498
cursor += sizeof (intptr_t );
499
499
500
500
printPrefix (pOutFile, NULL , cursor, sizeof (intptr_t ));
@@ -519,7 +519,7 @@ uint8_t *TR::ARM64InterfaceCallSnippet::emitSnippetBody()
519
519
cursor += 4 ;
520
520
521
521
// Store the code cache RA
522
- *(intptrj_t *)cursor = (intptrj_t )getReturnLabel ()->getCodeLocation ();
522
+ *(intptr_t *)cursor = (intptr_t )getReturnLabel ()->getCodeLocation ();
523
523
cg ()->addExternalRelocation (new (cg ()->trHeapMemory ()) TR::ExternalRelocation (
524
524
cursor,
525
525
NULL ,
@@ -528,7 +528,7 @@ uint8_t *TR::ARM64InterfaceCallSnippet::emitSnippetBody()
528
528
cursor += 8 ;
529
529
530
530
// CP
531
- *(intptrj_t *)cursor = (intptrj_t )methodSymRef->getOwningMethod (cg ()->comp ())->constantPool ();
531
+ *(intptr_t *)cursor = (intptr_t )methodSymRef->getOwningMethod (cg ()->comp ())->constantPool ();
532
532
cg ()->addExternalRelocation (new (cg ()->trHeapMemory ()) TR::ExternalRelocation (
533
533
cursor,
534
534
*(uint8_t **)cursor,
@@ -538,13 +538,13 @@ uint8_t *TR::ARM64InterfaceCallSnippet::emitSnippetBody()
538
538
cursor += 8 ;
539
539
540
540
// CP index
541
- *(intptrj_t *)cursor = methodSymRef->getCPIndexForVM ();
541
+ *(intptr_t *)cursor = methodSymRef->getCPIndexForVM ();
542
542
cursor += 8 ;
543
543
544
544
// Add 2 more slots for resolved values (interface class and iTable offset)
545
- *(intptrj_t *)cursor = 0 ;
545
+ *(intptr_t *)cursor = 0 ;
546
546
cursor += 8 ;
547
- *(intptrj_t *)cursor = 0 ;
547
+ *(intptr_t *)cursor = 0 ;
548
548
cursor += 8 ;
549
549
550
550
return cursor;
@@ -569,15 +569,15 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64InterfaceCallSnippet * snippet)
569
569
cursor += sizeof (intptr_t );
570
570
571
571
printPrefix (pOutFile, NULL , cursor, sizeof (intptr_t ));
572
- trfprintf (pOutFile, " .dword \t " POINTER_PRINTF_FORMAT " \t\t ; Constant pool address" , *(intptrj_t *)cursor);
572
+ trfprintf (pOutFile, " .dword \t " POINTER_PRINTF_FORMAT " \t\t ; Constant pool address" , *(intptr_t *)cursor);
573
573
cursor += sizeof (intptr_t );
574
574
575
575
printPrefix (pOutFile, NULL , cursor, sizeof (intptr_t ));
576
576
trfprintf (pOutFile, " .dword \t 0x%08x\t\t ; cpIndex" , *(intptr_t *)cursor);
577
577
cursor += sizeof (intptr_t );
578
578
579
579
printPrefix (pOutFile, NULL , cursor, sizeof (intptr_t ));
580
- trfprintf (pOutFile, " .dword \t " POINTER_PRINTF_FORMAT " \t\t ; Interface class" , *(intptrj_t *)cursor);
580
+ trfprintf (pOutFile, " .dword \t " POINTER_PRINTF_FORMAT " \t\t ; Interface class" , *(intptr_t *)cursor);
581
581
cursor += sizeof (intptr_t );
582
582
583
583
printPrefix (pOutFile, NULL , cursor, sizeof (intptr_t ));
0 commit comments