Skip to content

Commit

Permalink
Revert "Stop recognizing UTF16_Encoder.encodeUTF16" methods (1)
Browse files Browse the repository at this point in the history
This commit restores the helper entries for encodeUTF16Big
and encodeUTF16Little for p and x platforms that were removed
by eclipse-omr#7548.

Signed-off-by: KONNO Kazuhiro <[email protected]>
  • Loading branch information
knn-k committed Dec 2, 2024
1 parent 37e9b35 commit fe4d165
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions compiler/runtime/Helpers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ SETVAL(TR_IA32JitMethodMonitorExitReserved,TR_LXRH+28)
SETVAL(TR_IA32arrayTranslateTRTO, TR_LXRH+29)
SETVAL(TR_IA32arrayTranslateTROTNoBreak, TR_LXRH+30)
SETVAL(TR_IA32arrayTranslateTROT, TR_LXRH+31)
SETVAL(TR_IA32numRuntimeHelpers,TR_LXRH+32)
SETVAL(TR_IA32encodeUTF16Big,TR_LXRH+32)
SETVAL(TR_IA32encodeUTF16Little,TR_LXRH+33)
SETVAL(TR_IA32numRuntimeHelpers,TR_LXRH+34)

SETVAL(TR_AMD64floatRemainder,TR_LXRH+0)
SETVAL(TR_AMD64doubleRemainder,TR_LXRH+1)
Expand Down Expand Up @@ -234,10 +236,12 @@ SETVAL(TR_AMD64clockGetTime,TR_LXRH+26)
SETVAL(TR_AMD64arrayTranslateTRTO, TR_LXRH+27)
SETVAL(TR_AMD64arrayTranslateTROTNoBreak, TR_LXRH+28)
SETVAL(TR_AMD64arrayTranslateTROT, TR_LXRH+29)
SETVAL(TR_AMD64doAESENCEncrypt,TR_LXRH+30)
SETVAL(TR_AMD64doAESENCDecrypt,TR_LXRH+31)
SETVAL(TR_AMD64java_util_zip_CRC32C_updateBytes,TR_LXRH+32)
SETVAL(TR_AMD64numRuntimeHelpers,TR_LXRH+33)
SETVAL(TR_AMD64encodeUTF16Big,TR_LXRH+30)
SETVAL(TR_AMD64encodeUTF16Little,TR_LXRH+31)
SETVAL(TR_AMD64doAESENCEncrypt,TR_LXRH+32)
SETVAL(TR_AMD64doAESENCDecrypt,TR_LXRH+33)
SETVAL(TR_AMD64java_util_zip_CRC32C_updateBytes,TR_LXRH+34)
SETVAL(TR_AMD64numRuntimeHelpers,TR_LXRH+35)

SETVAL(TR_PPClongDivide,TR_FSRH)
SETVAL(TR_PPCnativeStaticHelper,TR_FSRH+1)
Expand Down Expand Up @@ -320,17 +324,19 @@ SETVAL(TR_PPCquadWordArrayCopy_vsx, TR_FSRH+77)
SETVAL(TR_PPCforwardQuadWordArrayCopy_vsx, TR_FSRH+78)
SETVAL(TR_PPCpostP10ForwardCopy, TR_FSRH+79)
SETVAL(TR_PPCpostP10GenericCopy, TR_FSRH+80)
SETVAL(TR_PPCP256Multiply, TR_FSRH+81)
SETVAL(TR_PPCP256Mod, TR_FSRH+82)
SETVAL(TR_PPCP256addNoMod, TR_FSRH+83)
SETVAL(TR_PPCP256subNoMod, TR_FSRH+84)
SETVAL(TR_PPCAESCBCDecrypt, TR_FSRH+85)
SETVAL(TR_PPCAESCBCEncrypt, TR_FSRH+86)
SETVAL(TR_PPCinterpreterUnresolvedConstantDynamicGlue, TR_FSRH+87)
SETVAL(TR_PPCcrc32_vpmsum, TR_FSRH+88)
SETVAL(TR_PPCcrc32_no_vpmsum, TR_FSRH+89)
SETVAL(TR_PPCcrc32_oneByte, TR_FSRH+90)
SETVAL(TR_PPCnumRuntimeHelpers,TR_FSRH+91)
SETVAL(TR_PPCencodeUTF16Big, TR_FSRH+81)
SETVAL(TR_PPCencodeUTF16Little, TR_FSRH+82)
SETVAL(TR_PPCP256Multiply, TR_FSRH+83)
SETVAL(TR_PPCP256Mod, TR_FSRH+84)
SETVAL(TR_PPCP256addNoMod, TR_FSRH+85)
SETVAL(TR_PPCP256subNoMod, TR_FSRH+86)
SETVAL(TR_PPCAESCBCDecrypt, TR_FSRH+87)
SETVAL(TR_PPCAESCBCEncrypt, TR_FSRH+88)
SETVAL(TR_PPCinterpreterUnresolvedConstantDynamicGlue, TR_FSRH+89)
SETVAL(TR_PPCcrc32_vpmsum, TR_FSRH+90)
SETVAL(TR_PPCcrc32_no_vpmsum, TR_FSRH+91)
SETVAL(TR_PPCcrc32_oneByte, TR_FSRH+92)
SETVAL(TR_PPCnumRuntimeHelpers,TR_FSRH+93)

SETVAL(TR_ARMdouble2Long,TR_FSRH)
SETVAL(TR_ARMdoubleRemainder,TR_FSRH+1)
Expand Down

0 comments on commit fe4d165

Please sign in to comment.