From 84afed137cac86834e51ff1cf43a35eed1e1cc63 Mon Sep 17 00:00:00 2001 From: Devin Papineau Date: Fri, 5 Oct 2018 16:00:50 -0400 Subject: [PATCH] Remove callingMethod from getMethodFromName() This parameter is unused. Signed-off-by: Devin Papineau --- runtime/compiler/env/VMJ9.cpp | 6 ------ runtime/compiler/env/VMJ9.h | 1 - 2 files changed, 7 deletions(-) diff --git a/runtime/compiler/env/VMJ9.cpp b/runtime/compiler/env/VMJ9.cpp index 939c14fc2af..57789bf2011 100644 --- a/runtime/compiler/env/VMJ9.cpp +++ b/runtime/compiler/env/VMJ9.cpp @@ -6684,12 +6684,6 @@ TR_J9VMBase::getClassDepthAndFlagsValue(TR_OpaqueClassBlock * classPointer) #define LOOKUP_OPTION_NO_CLIMB 32 #define LOOKUP_OPTION_NO_THROW 8192 -TR_OpaqueMethodBlock * -TR_J9VM::getMethodFromName(char *className, char *methodName, char *signature, TR_OpaqueMethodBlock *callingMethod) - { - return getMethodFromName(className, methodName, signature); // ignore callingMethod - } - TR_OpaqueMethodBlock * TR_J9VM::getMethodFromName(char *className, char *methodName, char *signature) { diff --git a/runtime/compiler/env/VMJ9.h b/runtime/compiler/env/VMJ9.h index 38a3d234a2d..7b382838898 100644 --- a/runtime/compiler/env/VMJ9.h +++ b/runtime/compiler/env/VMJ9.h @@ -1029,7 +1029,6 @@ class TR_J9VM : public TR_J9VMBase virtual void initializeHasFixedFrameC_CallingConvention(); virtual bool isPublicClass(TR_OpaqueClassBlock *clazz); - virtual TR_OpaqueMethodBlock *getMethodFromName(char * className, char *methodName, char *signature, TR_OpaqueMethodBlock *callingMethod); virtual TR_OpaqueMethodBlock *getMethodFromName(char * className, char *methodName, char *signature); virtual TR_OpaqueClassBlock * getComponentClassFromArrayClass(TR_OpaqueClassBlock * arrayClass);