diff --git a/runtime/compiler/env/VMJ9.cpp b/runtime/compiler/env/VMJ9.cpp index b9cbdf2e6c..3b1df64be1 100644 --- a/runtime/compiler/env/VMJ9.cpp +++ b/runtime/compiler/env/VMJ9.cpp @@ -5626,15 +5626,6 @@ TR_J9VMBase::reserveTrampolineIfNecessary(TR::Compilation * comp, TR::SymbolRefe TR_ASSERT(newCache->isReserved(), "assertion failure"); // MCT } -intptrj_t -TR_J9VMBase::indexedTrampolineLookup(int32_t helperIndex, void * callSite) - { - TR::VMAccessCriticalSection indexedTrampolineLookup(this); - intptrj_t tramp = TR::CodeCacheManager::instance()->findHelperTrampoline(helperIndex, callSite); - TR_ASSERT(tramp, "Error: CodeCache is not initialized properly.\n"); - return tramp; - } - // interpreter profiling support TR_IProfiler * TR_J9VMBase::getIProfiler() diff --git a/runtime/compiler/env/VMJ9.h b/runtime/compiler/env/VMJ9.h index 4d1710f1a1..615db2d7d3 100644 --- a/runtime/compiler/env/VMJ9.h +++ b/runtime/compiler/env/VMJ9.h @@ -820,7 +820,6 @@ class TR_J9VMBase : public TR_FrontEnd void *getCCPreLoadedCodeAddress(TR::CodeCache *codeCache, TR_CCPreLoadedCode h, TR::CodeGenerator *cg); virtual void reserveTrampolineIfNecessary( TR::Compilation *, TR::SymbolReference *symRef, bool inBinaryEncoding); - virtual intptrj_t indexedTrampolineLookup(int32_t helperIndex, void *callSite); virtual TR::CodeCache* getResolvedTrampoline( TR::Compilation *, TR::CodeCache* curCache, J9Method * method, bool inBinaryEncoding) = 0; // Interpreter profiling support