Skip to content

Commit

Permalink
Relocate OMR::SupportsBigDecimalLongLookasideVersioning to OpenJ9
Browse files Browse the repository at this point in the history
The OMR::CodeGenerator class defines
functionsgetSupportsBigDecimalLongLookasideVersioning and
setSupportsBigDecimalLongLookasideVersioning that are not used in OMR.
They only have relevance in OpenJ9 and should be relocated to the
J9::CodeGenerator class there.

Issue: eclipse-omr#1882
Signed-off-by: Bohao(Aaron) Wang <[email protected]>
  • Loading branch information
wbh123456 authored and andrewrgao committed Jun 5, 2019
1 parent ec5d7fe commit 198caf5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compiler/codegen/OMRCodeGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1512,9 +1512,6 @@ class OMR_EXTENSIBLE CodeGenerator
bool getAccessStaticsIndirectly() {return _flags1.testAny(AccessStaticsIndirectly);}
void setAccessStaticsIndirectly(bool b) {_flags1.set(AccessStaticsIndirectly, b);}

bool getSupportsBigDecimalLongLookasideVersioning() { return _flags3.testAny(SupportsBigDecimalLongLookasideVersioning);}
void setSupportsBigDecimalLongLookasideVersioning() { _flags3.set(SupportsBigDecimalLongLookasideVersioning);}

bool getSupportsBDLLHardwareOverflowCheck() { return _flags3.testAny(SupportsBDLLHardwareOverflowCheck);}
void setSupportsBDLLHardwareOverflowCheck() { _flags3.set(SupportsBDLLHardwareOverflowCheck);}

Expand Down Expand Up @@ -1758,7 +1755,7 @@ class OMR_EXTENSIBLE CodeGenerator
// AVAILABLE = 0x00000400,
HasCCCarry = 0x00000800,
// AVAILABLE = 0x00001000,
SupportsBigDecimalLongLookasideVersioning = 0x00002000,
// AVAILABLE = 0x00002000,
RemoveRegisterHogsInLowerTreesWalk = 0x00004000,
SupportsBDLLHardwareOverflowCheck = 0x00008000,
InlinedGetCurrentThreadMethod = 0x00010000,
Expand Down

0 comments on commit 198caf5

Please sign in to comment.