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

Casting parameter type to fit the template in generateS390CompareAndBranchInstruction #6725

Merged
merged 1 commit into from
Aug 27, 2019

Conversation

simonameng
Copy link
Contributor

@simonameng simonameng commented Aug 12, 2019

Typecast immediate value parameter for generateS390CompareAndBranchInstruction to either int32_t or int64_t to use newly added function template. Also remove unnecessary return typecasting.

@simonameng
Copy link
Contributor Author

The new added template: eclipse-omr/omr#4200

@simonameng
Copy link
Contributor Author

@r30shah @joransiu

Copy link
Contributor

@r30shah r30shah left a comment

Choose a reason for hiding this comment

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

There is a typo in PR description (Used Casing instead of Casting. Can you fix that. There is only one more suggestion which I have put in review. Apart from that looks good to me.

runtime/compiler/z/codegen/J9S390PrivateLinkage.cpp Outdated Show resolved Hide resolved
@genie-openj9
Copy link

Can one of the admins verify this patch?

4 similar comments
@genie-openj9
Copy link

Can one of the admins verify this patch?

@genie-openj9
Copy link

Can one of the admins verify this patch?

@genie-openj9
Copy link

Can one of the admins verify this patch?

@genie-openj9
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

@r30shah r30shah left a comment

Choose a reason for hiding this comment

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

Changes looks good to me. Will leave to @joransiu to take another look before we can merge this guy.

Copy link
Member

@joransiu joransiu left a comment

Choose a reason for hiding this comment

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

LGTM

@joransiu
Copy link
Member

Jenkins test sanity zlinux depends eclipse-omr/omr#4200

@joransiu
Copy link
Member

Jenkins test sanity zlinux jdk8 depends eclipse-omr/omr#4200

…remove unnecessary typecast

Typecast immediate value parameter for `generateS390CompareAndBranchInstruction` to either `int32_t` or `int64_t` to use newly added function template.

Also remove unnecessary return typecasting.

Signed-off-by: simonameng <simonameng97@gmail.com>
Copy link
Contributor

@fjeremic fjeremic left a comment

Choose a reason for hiding this comment

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

Will need to wait for OMR-Acceptance to merge this one.

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.

5 participants