-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Implement UnknownSizeFrame for locals with unknown size #125491
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
base: main
Are you sure you want to change the base?
Changes from all commits
ef0e27c
38e056e
ceb5ce1
359b1e1
9c7abdd
653b229
083efd0
74fdd66
0d0cec3
f00f407
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5647,6 +5647,12 @@ void Compiler::generatePatchpointInfo() | |
| // | ||
| unsigned varNum = lclNum; | ||
|
|
||
| // Variable-sized locals reside in a different part of the stack frame. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This brings up OSR support for this kind of stack frame, which I hadn't yet run into. I suppose it's not possible to just skip over these kinds of variables. I would have to either disable OSR for the method, or add some support to allow for copying over the extra frame space as well? |
||
| if (lvaIsUnknownSizeLocal(varNum)) | ||
| { | ||
| continue; | ||
| } | ||
|
|
||
| if (gsShadowVarInfo != nullptr) | ||
| { | ||
| unsigned const shadowNum = gsShadowVarInfo[lclNum].shadowCopy; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.