-
Notifications
You must be signed in to change notification settings - Fork 5
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
Resurrecting Stackmap insertion change #119
Conversation
These changes make sure that stackmap is not inserted after unmappable functions except control point and yk_promote calls.
@ltratt @ptersilie the PR is ready for review. |
(CI.getCalledFunction()->isDeclaration() && | ||
(!CI.getCalledFunction()->getName().startswith( | ||
"yk_promote") && | ||
CI.getCalledFunction()->getName() != YK_NEW_CONTROL_POINT)))) |
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.
I still have a feeling we might get away with omitting stackmaps for the control point too, but we can investigate that in a separate PR. It will require some changes to yk too.
Which yklua tests has this been confirmed as working on? |
@nmdis1999 Ping on #119 (comment). |
@ltratt yes, I was figuring out why all promote tests were failing, and looks like the stackmap is not inserting after __yk_promote* calls because typo in my code. I was checking if the call starts with |
@ltratt I have tested this on yk and all tests are passing, on yk lua all tests which are passing without this change also pass with my changes. |
Can we list which lua tests do and don't pass please? |
@ltratt These are the tests that pass and fail with my changes:
which is same as without my changes. I have tested this with both my changes and without my changes and getting diff. |
Thanks! I think this is then ready for merge? @ptersilie OK? |
Let's go. |
These changes make sure that stackmap is not inserted after unmappable functions except control point and yk_promote calls. In previous PR #114 the stackmaps insertion was skipped as control point and yk_promote were treated as external functions, which resulted in some tests failing. This commit make sures that this problem don't occur while retaining the logic of previous PR.