Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove OpenJ9-specific FrontEnd functions #3534

Merged
merged 1 commit into from
Jan 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions compiler/codegen/FrontEnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,6 @@ TR_FrontEnd::getFormattedName(

}

uintptrj_t
TR_FrontEnd::getClassDepthAndFlagsValue(TR_OpaqueClassBlock * classPointer)
{
notImplemented("getClassDepthAndFlagsValue");
return 0;
}

TR_OpaqueMethodBlock*
TR_FrontEnd::getMethodFromName(char * className, char *methodName, char *signature, TR_OpaqueMethodBlock *callingMethod)
Expand Down Expand Up @@ -319,13 +313,6 @@ TR_FrontEnd::getClassFromMethodBlock(TR_OpaqueMethodBlock *mb)
return NULL;
}

int32_t
TR_FrontEnd::getStringLength(uintptrj_t objectPointer)
{
notImplemented("getStringLength");
return 0;
}

intptrj_t
TR_FrontEnd::getStringUTF8Length(uintptrj_t objectPointer)
{
Expand Down
4 changes: 0 additions & 4 deletions compiler/codegen/FrontEnd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,6 @@ class TR_FrontEnd : public TR_Uncopyable
virtual TR_OpaqueClassBlock * getComponentClassFromArrayClass(TR_OpaqueClassBlock *arrayClass);
virtual TR_OpaqueClassBlock * getLeafComponentClassFromArrayClass(TR_OpaqueClassBlock *arrayClass);

// to J9
virtual uintptrj_t getClassDepthAndFlagsValue(TR_OpaqueClassBlock * classPointer);
virtual int32_t getStringLength(uintptrj_t objectPointer);

// Null-terminated. bufferSize >= 1+getStringUTF8Length(objectPointer). Returns buffer just for convenience.
virtual char *getStringUTF8(uintptrj_t objectPointer, char *buffer, intptrj_t bufferSize);
virtual intptrj_t getStringUTF8Length(uintptrj_t objectPointer);
Expand Down