diff --git a/runtime/compiler/aarch64/runtime/CMakeLists.txt b/runtime/compiler/aarch64/runtime/CMakeLists.txt index 80e3b8861d0..2da825fbfd0 100644 --- a/runtime/compiler/aarch64/runtime/CMakeLists.txt +++ b/runtime/compiler/aarch64/runtime/CMakeLists.txt @@ -21,7 +21,8 @@ ################################################################################ j9jit_files( - ${omr_SOURCE_DIR}/compiler/aarch64/runtime/ARM64arrayCopy.spp + ${omr_SOURCE_DIR}/compiler/aarch64/runtime/ARM64ArrayCopy.spp + ${omr_SOURCE_DIR}/compiler/aarch64/runtime/ARM64ArrayTranslate.spp ${omr_SOURCE_DIR}/compiler/aarch64/runtime/CodeSync.cpp ${omr_SOURCE_DIR}/compiler/aarch64/runtime/VirtualGuardRuntime.cpp aarch64/runtime/ARM64RelocationTarget.cpp diff --git a/runtime/compiler/build/files/host/aarch64.mk b/runtime/compiler/build/files/host/aarch64.mk index d2bac0c77ab..07d9e8c2679 100644 --- a/runtime/compiler/build/files/host/aarch64.mk +++ b/runtime/compiler/build/files/host/aarch64.mk @@ -19,7 +19,8 @@ # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0 JIT_PRODUCT_BACKEND_SOURCES+= \ - omr/compiler/aarch64/runtime/ARM64arrayCopy.spp \ + omr/compiler/aarch64/runtime/ARM64ArrayCopy.spp \ + omr/compiler/aarch64/runtime/ARM64ArrayTranslate.spp \ omr/compiler/aarch64/runtime/CodeSync.cpp \ omr/compiler/aarch64/runtime/VirtualGuardRuntime.cpp diff --git a/runtime/compiler/runtime/Runtime.cpp b/runtime/compiler/runtime/Runtime.cpp index 00c2fc2a56c..6c99d85d2f7 100644 --- a/runtime/compiler/runtime/Runtime.cpp +++ b/runtime/compiler/runtime/Runtime.cpp @@ -596,6 +596,7 @@ JIT_HELPER(__forwardArrayCopy); JIT_HELPER(__backwardArrayCopy); JIT_HELPER(_patchGCRHelper); JIT_HELPER(_fieldWatchHelper); +JIT_HELPER(__arrayTranslateTRTO255); #elif defined(TR_HOST_S390) JIT_HELPER(__double2Long); @@ -1580,6 +1581,7 @@ void initializeCodeRuntimeHelperTable(J9JITConfig *jitConfig, char isSMP) #else SET(TR_ARM64fieldWatchHelper, (void *) 0, TR_Helper); #endif + SET(TR_ARM64arrayTranslateTRTO255, (void *) __arrayTranslateTRTO255, TR_Helper); #elif defined(TR_HOST_S390) SET(TR_S390double2Long, (void *) 0, TR_Helper);