Skip to content

Commit

Permalink
Merge pull request #4438 from Akira1Saitoh/aarch64ArrayTranslateMinim…
Browse files Browse the repository at this point in the history
…umNumber

AArch64: Provide thresholds for arrayTranslate/arrayTranslateAndTest
  • Loading branch information
0xdaryl authored Oct 15, 2019
2 parents 7d6908d + fd08e82 commit 42aab20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compiler/aarch64/codegen/OMRCodeGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ class OMR_EXTENSIBLE CodeGenerator : public OMR::CodeGenerator
// OutOfLineCodeSection List functions
TR::list<TR_ARM64OutOfLineCodeSection*> &getARM64OutOfLineCodeSectionList() {return _outOfLineCodeSectionList;}

// We need to provide an implementation to avoid an unimplemented assert. See issue #4446.
int32_t arrayTranslateMinimumNumberOfElements(bool isByteSource, bool isByteTarget) { return 8; }
// We need to provide an implementation to avoid an unimplemented assert. See issue #4446.
int32_t arrayTranslateAndTestMinimumNumberOfIterations() { return 8; }

private:

enum // flags
Expand Down

0 comments on commit 42aab20

Please sign in to comment.