-
Notifications
You must be signed in to change notification settings - Fork 721
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
Add functions to support and use type hint in VP #16265
Add functions to support and use type hint in VP #16265
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind removing the blank line after the co-authored-by line in the commit message? GitHub only picks up metadata like that when there are no blank lines afterward
Please also handle call return type signatures in |
ee98de6
to
4f8de01
Compare
@jdmpapin @vijaysun-omr All comments are addressed. Ready for another review. Thanks! |
4f8de01
to
53864c1
Compare
@jdmpapin All comments are addressed. Ready for another review. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after one more small fix
@vijaysun-omr, this is ready for your review now |
- Add `findLikelySubtype` to look for a likely sub type given a `TR_OpaqueClassBlock` pointer or a class signature. - Add `createTypeHintConstraint` to create a constraint if a likely sub type for a given class signature is found - Create type hint for parameters in `getParmValues` - Create type hint using return type in `innerConstrainAcall` Co-Authored-By: Devin Papineau <devin@ajdmp.ca> Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
53864c1
to
67eca14
Compare
Jenkins test sanity all jdk8,jdk11,jdk19 |
The build failed because it has dependency on eclipse-omr/omr#6801 which hasn't been promoted to openj9-omr yet |
Yes I should have waited for that to happen. |
eclipse-omr/omr#6801 is now promoted to openj9-omr |
Jenkins test sanity all jdk8,jdk11,jdk19 |
I think you can probably remove WIP from the title now btw |
It's not promoted yet, but should be shortly. |
Oh... I followed the link, but didn't check that it lead to the openj9 branch 🤦 |
The OMR change is promoted now. |
Jenkins test sanity all jdk8,jdk11,jdk19 |
1 similar comment
Jenkins test sanity all jdk8,jdk11,jdk19 |
findLikelySubtype
to look for a likely sub type given aTR_OpaqueClassBlock
pointer or a class signature.createTypeHintConstraint
to create a constraint if a likely sub type for a given class signature is foundgetParmValues
innerConstrainAcall
Depends on
Co-Authored-By: Devin Papineau devin@ajdmp.ca
Signed-off-by: Annabelle Huo Annabelle.Huo@ibm.com