Skip to content

Commit

Permalink
Merge pull request #4796 from 0xdaryl/noindextramp
Browse files Browse the repository at this point in the history
Remove deprecated FrontEnd indexedTrampolineLookup function
  • Loading branch information
fjeremic committed Feb 20, 2019
2 parents 7f3f987 + be24104 commit cea9252
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions runtime/compiler/env/VMJ9.cpp
Expand Up @@ -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()
Expand Down
1 change: 0 additions & 1 deletion runtime/compiler/env/VMJ9.h
Expand Up @@ -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
Expand Down

0 comments on commit cea9252

Please sign in to comment.