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 OMR::Compilation::needRelocationsForStatics #4197

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

dmitry-ten
Copy link
Contributor

@dmitry-ten dmitry-ten commented Aug 9, 2019

Replace the usage of that query with CodeGenerator::needRelocationsForStatics.
They are supposed to be used in the same circumstances but it is more appropriate to have this query in the codegen, since different platforms may require different answers.

@dmitry-ten
Copy link
Contributor Author

This should be merged after eclipse-openj9/openj9#6718

@Leonardo2718 Leonardo2718 changed the title Remove CodeGenerator::needRelocationsForStatics WIP: Remove CodeGenerator::needRelocationsForStatics Aug 9, 2019
@Leonardo2718
Copy link
Contributor

I've added WIP as a prefix to the PR title to signal that this shouldn't be merged yet. Please remove the WIP once this PR can be safely merged. (i.e. after eclipse-openj9/openj9#6718 is merged).

Replace the usage of that query with
`CodeGenerator::needRelocationsForStatics`.
They are supposed to be used in the same circumstances
but it is more appropriate to have this query in the codegen,
since different platforms may require different answers.

Signed-off-by: Dmitry Ten <Dmitry.Ten@ibm.com>
@dmitry-ten dmitry-ten changed the title WIP: Remove CodeGenerator::needRelocationsForStatics WIP: Remove OMR::Compilation::needRelocationsForStatics Aug 12, 2019
@dmitry-ten dmitry-ten changed the title WIP: Remove OMR::Compilation::needRelocationsForStatics Remove OMR::Compilation::needRelocationsForStatics Aug 12, 2019
@dmitry-ten
Copy link
Contributor Author

dmitry-ten commented Aug 12, 2019

Due to most recent discussion in eclipse-openj9/openj9#6718 it was decided to keep the codegen query and remove the compilation object one. Changed the commit, title and description of this PR to accommodate that.
This is ready for review now and doesn't have any dependencies in openj9, so can be merged immediately.

Copy link
Contributor

@Leonardo2718 Leonardo2718 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Leonardo2718 Leonardo2718 self-assigned this Aug 13, 2019
@Leonardo2718
Copy link
Contributor

@genie-omr build all

@Leonardo2718 Leonardo2718 merged commit 926a612 into eclipse-omr:master Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants