Skip to content

Commit

Permalink
Add AArch64 helpers to getRuntimeHelperName()
Browse files Browse the repository at this point in the history
This commit adds AArch64 helpers to getRuntimeHelperName() in Debug.cpp.

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
  • Loading branch information
knn-k authored and AidanHa committed Nov 4, 2019
1 parent 693e413 commit 70bc681
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion compiler/ras/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4234,8 +4234,49 @@ TR_Debug::getRuntimeHelperName(int32_t index)
case TR_ARMrevertToInterpreterGlue: return "_revertToInterpreterGlue";
}
}
#elif defined (TR_TARGET_ARM64)
else if (TR::Compiler->target.cpu.isARM64() && !inDebugExtension())
{
switch (index)
{
case TR_ARM64interpreterUnresolvedStaticGlue: return "_interpreterUnresolvedStaticGlue";
case TR_ARM64interpreterUnresolvedSpecialGlue: return "_interpreterUnresolvedSpecialGlue";
case TR_ARM64interpreterUnresolvedDirectVirtualGlue: return "_interpreterUnresolvedDirectVirtualGlue";
case TR_ARM64interpreterUnresolvedClassGlue: return "_interpreterUnresolvedClassGlue";
case TR_ARM64interpreterUnresolvedClassGlue2: return "_interpreterUnresolvedClassGlue2";
case TR_ARM64interpreterUnresolvedStringGlue: return "_interpreterUnresolvedStringGlue";
case TR_ARM64interpreterUnresolvedConstantDynamicGlue: return "_interpreterUnresolvedConstantDynamicGlue";
case TR_ARM64interpreterUnresolvedStaticDataGlue: return "_interpreterUnresolvedStaticDataGlue";
case TR_ARM64interpreterUnresolvedInstanceDataGlue: return "_interpreterUnresolvedInstanceDataGlue";
case TR_ARM64interpreterUnresolvedStaticDataStoreGlue: return "_interpreterUnresolvedStaticDataStoreGlue";
case TR_ARM64interpreterUnresolvedInstanceDataStoreGlue: return "_interpreterUnresolvedInstanceDataStoreGlue";
case TR_ARM64virtualUnresolvedHelper: return "_virtualUnresolvedHelper";
case TR_ARM64interfaceCallHelper: return "_interfaceCallHelper";
case TR_ARM64icallVMprJavaSendVirtual0: return "icallVMprJavaSendVirtual0";
case TR_ARM64icallVMprJavaSendVirtual1: return "icallVMprJavaSendVirtual1";
case TR_ARM64icallVMprJavaSendVirtualJ: return "icallVMprJavaSendVirtualJ";
case TR_ARM64icallVMprJavaSendVirtualF: return "icallVMprJavaSendVirtualF";
case TR_ARM64icallVMprJavaSendVirtualD: return "icallVMprJavaSendVirtualD";
case TR_ARM64interpreterVoidStaticGlue: return "_interpreterVoidStaticGlue";
case TR_ARM64interpreterSyncVoidStaticGlue: return "_interpreterSyncVoidStaticGlue";
case TR_ARM64interpreterIntStaticGlue: return "_interpreterIntStaticGlue";
case TR_ARM64interpreterSyncIntStaticGlue: return "_interpreterSyncIntStaticGlue";
case TR_ARM64interpreterLongStaticGlue: return "_interpreterLongStaticGlue";
case TR_ARM64interpreterSyncLongStaticGlue: return "_interpreterSyncLongStaticGlue";
case TR_ARM64interpreterFloatStaticGlue: return "_interpreterFloatStaticGlue";
case TR_ARM64interpreterSyncFloatStaticGlue: return "_interpreterSyncFloatStaticGlue";
case TR_ARM64interpreterDoubleStaticGlue: return "_interpreterDoubleStaticGlue";
case TR_ARM64interpreterSyncDoubleStaticGlue: return "_interpreterSyncDoubleStaticGlue";
case TR_ARM64nativeStaticHelper: return "_nativeStaticHelper";
case TR_ARM64interfaceDispatch: return "_interfaceDispatch";
case TR_ARM64countingRecompileMethod: return "_countingRecompileMethod";
case TR_ARM64revertToInterpreterGlue: return "_revertToInterpreterGlue";
case TR_ARM64doubleRemainder: return "doubleRemainder";
case TR_ARM64floatRemainder: return "floatRemainder";
}
}
#endif
#endif
#endif // J9_PROJECT_SPECIFIC

if (inDebugExtension())
return "platform specific - not implemented";
Expand Down

0 comments on commit 70bc681

Please sign in to comment.