Skip to content

Commit

Permalink
Remove supportsTrapsInTMRegion from OMR
Browse files Browse the repository at this point in the history
Remove all the references to supportsTrapsInTMRegion from OMR as the
field has already been transferred to  OpenJ9.

Closes: eclipse-omr#1868
Signed-off-by: Bohao(Aaron) Wang <aaronwang0407@gmail.com>
  • Loading branch information
wbh123456 committed May 29, 2019
1 parent b22240c commit 8f44c05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions compiler/codegen/OMRCodeGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1399,9 +1399,6 @@ class OMR_EXTENSIBLE CodeGenerator

bool supportsLengthMinusOneForMemoryOpts() {return false;}

// Java, likely Z
bool supportsTrapsInTMRegion() { return true; }

// Allows a platform code generator to assert that a particular node operation will use 64 bit values
// that are not explicitly present in the node datatype.
bool usesImplicit64BitGPRs(TR::Node *node) { return false; }
Expand Down
5 changes: 0 additions & 5 deletions compiler/z/codegen/OMRCodeGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,6 @@ class OMR_EXTENSIBLE CodeGenerator : public OMR::CodeGenerator

bool supportsLengthMinusOneForMemoryOpts() {return true;}

bool supportsTrapsInTMRegion()
{
return TR::Compiler->target.isZOS();
}

bool inlineNDmemcpyWithPad(TR::Node * node, int64_t * maxLengthPtr = NULL);
bool codegenSupportsLoadlessBNDCheck() {return TR::Compiler->target.cpu.getSupportsArch(TR::CPU::zEC12);}
TR::Register *evaluateLengthMinusOneForMemoryOps(TR::Node *, bool , bool &lenMinusOne);
Expand Down

0 comments on commit 8f44c05

Please sign in to comment.