diff --git a/compiler/codegen/OMRCodeGenerator.cpp b/compiler/codegen/OMRCodeGenerator.cpp index 3b9928e1ed5..ece48384847 100644 --- a/compiler/codegen/OMRCodeGenerator.cpp +++ b/compiler/codegen/OMRCodeGenerator.cpp @@ -1293,27 +1293,6 @@ bool OMR::CodeGenerator::areAssignableGPRsScarce() return (self()->getMaximumNumbersOfAssignableGPRs() <= threshold); } -// J9 -// -TR::Node * -OMR::CodeGenerator::createOrFindClonedNode(TR::Node *node, int32_t numChildren) - { - TR_HashId index; - if (!_uncommmonedNodes.locate(node->getGlobalIndex(), index)) - { - // has not been uncommoned already, clone and store for later - TR::Node *clone = TR::Node::copy(node, numChildren); - _uncommmonedNodes.add(node->getGlobalIndex(), index, clone); - node = clone; - } - else - { - // found previously cloned node - node = (TR::Node *) _uncommmonedNodes.getData(index); - } - return node; - } - // returns true iff, based on opcodes and offsets if two store/load/address nodes are definitely disjoint (i.e. guaranteed not to overlap) // any combination of stores,loads and address nodes are allowed as node1 and node2 diff --git a/compiler/codegen/OMRCodeGenerator.hpp b/compiler/codegen/OMRCodeGenerator.hpp index 2b27555f6eb..c93f675c6fe 100644 --- a/compiler/codegen/OMRCodeGenerator.hpp +++ b/compiler/codegen/OMRCodeGenerator.hpp @@ -1391,8 +1391,6 @@ class OMR_EXTENSIBLE CodeGenerator // -------------------------------------------------------------------------- - TR::Node *createOrFindClonedNode(TR::Node *node, int32_t numChildren); - bool constantAddressesCanChangeSize(TR::Node *node); bool profiledPointersRequireRelocation(); bool needGuardSitesEvenWhenGuardRemoved();