diff --git a/compiler/codegen/OMRCodeGenerator.hpp b/compiler/codegen/OMRCodeGenerator.hpp index 387640a9fdd..f6dba9eb5d0 100644 --- a/compiler/codegen/OMRCodeGenerator.hpp +++ b/compiler/codegen/OMRCodeGenerator.hpp @@ -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; } diff --git a/compiler/z/codegen/OMRCodeGenerator.hpp b/compiler/z/codegen/OMRCodeGenerator.hpp index 4e24ed5cbeb..0ed842e22b5 100644 --- a/compiler/z/codegen/OMRCodeGenerator.hpp +++ b/compiler/z/codegen/OMRCodeGenerator.hpp @@ -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);