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

Implement constant dynamic support in Power codegen #2808

Merged
merged 1 commit into from
Sep 14, 2018

Conversation

aviansie-ben
Copy link
Contributor

@aviansie-ben aviansie-ben commented Sep 7, 2018

This commit adds the necessary code to the Power code generator to
support resolving unresolved constant dynamic constant pool entries in
JITted code.

Signed-off-by: Ben Thomas ben@benthomas.ca

This PR depends on eclipse-omr/omr#2946.

#else
rlwinm r3, r3, 0, 0xfffffffe ! <clinit> clear up the last bit, which must be zero
#endif
cmpi cr0, 0, r17, in_clinit ! <clinit> is being executed
Copy link
Contributor

Choose a reason for hiding this comment

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

Indentations look quite odd with the tabs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like all this weird indentation crept in from code that was copied from _interpreterUnresolvedStringGlue. I'll go ahead and clean it up a little bit...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've replaced all the tabs with spaces for now. I'm still not a big fan of the indentation, but I'm trying to keep it consistent with what's used in the other PicBuilder helpers.

This commit adds the necessary code to the Power code generator to
support resolving unresolved constant dynamic constant pool entries in
JITted code.

Signed-off-by: Ben Thomas <ben@benthomas.ca>
@AdamBrousseau
Copy link
Contributor

Jenkins line endings check

@gita-omr gita-omr self-requested a review September 11, 2018 14:49
@aviansie-ben aviansie-ben changed the title WIP: Implement constant dynamic support in Power codegen Implement constant dynamic support in Power codegen Sep 13, 2018
@aviansie-ben
Copy link
Contributor Author

@gita-omr since eclipse-omr/omr#2946 has been merged, this should be ready to merge now

@gita-omr gita-omr merged commit a367787 into eclipse-openj9:master Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants