diff --git a/compiler/codegen/OMRCodeGenerator.cpp b/compiler/codegen/OMRCodeGenerator.cpp index 16431cc127f..d47812ec28d 100644 --- a/compiler/codegen/OMRCodeGenerator.cpp +++ b/compiler/codegen/OMRCodeGenerator.cpp @@ -159,7 +159,6 @@ OMR::CodeGenerator::CodeGenerator() : _implicitExceptionPoint(0), _localsThatAreStored(NULL), _numLocalsWhenStoreAnalysisWasDone(-1), - _uncommmonedNodes(self()->comp()->trMemory(), stackAlloc), _ialoadUnneeded(self()->comp()->trMemory()), _symRefTab(self()->comp()->getSymRefTab()), _vmThreadRegister(NULL), @@ -1291,27 +1290,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 34c0840ee98..bc0ab811fa3 100644 --- a/compiler/codegen/OMRCodeGenerator.hpp +++ b/compiler/codegen/OMRCodeGenerator.hpp @@ -266,7 +266,6 @@ class OMR_EXTENSIBLE CodeGenerator TR_BitVector *_localsThatAreStored; int32_t _numLocalsWhenStoreAnalysisWasDone; - TR_HashTabInt _uncommmonedNodes; // uncommoned nodes keyed by the original nodes List > _ialoadUnneeded; public: @@ -1386,9 +1385,7 @@ class OMR_EXTENSIBLE CodeGenerator return true; } - // -------------------------------------------------------------------------- - - TR::Node *createOrFindClonedNode(TR::Node *node, int32_t numChildren); + // -------------------------------------------------------------------------- bool constantAddressesCanChangeSize(TR::Node *node); bool profiledPointersRequireRelocation();