Skip to content

Commit

Permalink
Add TR_VMINLMethod relo type
Browse files Browse the repository at this point in the history
This relo type is needed in Eclipse OpenJ9 to relocate method pointers
that are special and known within the VM.

Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
  • Loading branch information
dsouzai committed Apr 5, 2021
1 parent 7c7d075 commit 77cea00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions compiler/codegen/Relocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ const char *TR::ExternalRelocation::_externalRelocationTargetKindNames[TR_NumExt
"TR_InlinedAbstractMethod (106)",
"TR_Breakpoint (107)",
"TR_InlinedMethodPointer (108)",
"TR_VMINLMethod (109)",
};

uintptr_t TR::ExternalRelocation::_globalValueList[TR_NumGlobalValueItems] =
Expand Down
3 changes: 2 additions & 1 deletion compiler/runtime/Runtime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ typedef enum
TR_InlinedAbstractMethod = 106,
TR_Breakpoint = 107,
TR_InlinedMethodPointer = 108,
TR_NumExternalRelocationKinds = 109,
TR_VMINLMethod = 109,
TR_NumExternalRelocationKinds = 110,
TR_ExternalRelocationTargetKindMask = 0xff,
} TR_ExternalRelocationTargetKind;

Expand Down

0 comments on commit 77cea00

Please sign in to comment.