-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[Xtensa] Implement vararg support. #117126
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
Changes from 1 commit
d3db27e
467e1d0
dfb7ee4
3998c2f
862f1de
ae7bff0
90eaaa4
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 | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -25,13 +25,14 @@ class XtensaMachineFunctionInfo : public MachineFunctionInfo { | |||||||||||||||||
| /// FrameIndex of the spill slot for the scratch register in BranchRelaxation. | ||||||||||||||||||
| int BranchRelaxationScratchFrameIndex = -1; | ||||||||||||||||||
| unsigned VarArgsFirstGPR; | ||||||||||||||||||
| int VarArgsStackOffset; | ||||||||||||||||||
| unsigned VarArgsFrameIndex; | ||||||||||||||||||
| unsigned VarArgsOnStackFrameIndex; | ||||||||||||||||||
| unsigned VarArgsInRegsFrameIndex; | ||||||||||||||||||
|
||||||||||||||||||
| unsigned VarArgsInRegsFrameIndex; | |
| int VarArgsInRegsFrameIndex; |
Frame indexes are signed
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.
Fixed
Outdated
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.
| unsigned getVarArgsOnStackFrameIndex() const { | |
| int getVarArgsOnStackFrameIndex() const { |
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.
Fixed
Outdated
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.
| void setVarArgsOnStackFrameIndex(unsigned FI) { | |
| void setVarArgsOnStackFrameIndex(int FI) { |
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.
Thank you. Fixed.
Outdated
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.
| unsigned getVarArgsInRegsFrameIndex() const { | |
| return VarArgsInRegsFrameIndex; | |
| } | |
| void setVarArgsInRegsFrameIndex(unsigned FI) { VarArgsInRegsFrameIndex = FI; } | |
| int getVarArgsInRegsFrameIndex() const { | |
| return VarArgsInRegsFrameIndex; | |
| } | |
| void setVarArgsInRegsFrameIndex(int FI) { VarArgsInRegsFrameIndex = FI; } |
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.
Fixed
Uh oh!
There was an error while loading. Please reload this page.