Skip to content

Commit

Permalink
Add new relo types
Browse files Browse the repository at this point in the history
Add new relo types that are needed in Eclipse OpenJ9.

Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
  • Loading branch information
dsouzai committed Jan 4, 2021
1 parent a9b64bd commit 1eb757e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions compiler/codegen/Relocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,10 @@ const char *TR::ExternalRelocation::_externalRelocationTargetKindNames[TR_NumExt
"TR_ResolvedTrampolines (101)",
"TR_BlockFrequency (102)",
"TR_RecompQueuedFlag (103)",
"TR_InlinedStaticMethod (104",
"TR_InlinedSpecialMethod (105)",
"TR_InlinedAbstractMethod (106)",
"TR_Breakpoint (107)",
};

uintptr_t TR::ExternalRelocation::_globalValueList[TR_NumGlobalValueItems] =
Expand Down
6 changes: 5 additions & 1 deletion compiler/runtime/Runtime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,11 @@ typedef enum
TR_ResolvedTrampolines = 101,
TR_BlockFrequency = 102,
TR_RecompQueuedFlag = 103,
TR_NumExternalRelocationKinds = 104,
TR_InlinedStaticMethod = 104,
TR_InlinedSpecialMethod = 105,
TR_InlinedAbstractMethod = 106,
TR_Breakpoint = 107,
TR_NumExternalRelocationKinds = 108,
TR_ExternalRelocationTargetKindMask = 0xff,
} TR_ExternalRelocationTargetKind;

Expand Down

0 comments on commit 1eb757e

Please sign in to comment.