-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[MONO] Factor marshal-lightweight out of marshal-ilgen #69208
Conversation
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-extra-platforms |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-extra-platforms |
No pipelines are associated with this pull request. |
f41c962
to
2305147
Compare
/azp run runtime-extra-platforms |
No pipelines are associated with this pull request. |
/azp run runtime-extra-platforms |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
2305147
to
344aa0b
Compare
/azp run runtime-extra-platforms |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
@lambdageek @vargaz I believe this is ready for review. The remaining test failures seem to be unrelated issues. The tail call one seems to be this: #69850 |
@lateralusX Once this merges your PR should be good to go in (this one: #69236) |
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.
nice!
This PR breaks marshal-ilgen into two; marshal-ilgen and marshal-lightweight. The eventually goal of this is to move code not needed in the new marshaling mode to a component to save size. marshal-lightweight will remain in the runtime, and marshal-ilgen will go into the component. When complete, this will save approximately 100 Kb in the runtime.
This change only moves functions, with out breaking them up or re-organizing them internally. Future changes will refactor the methods themselves, with smaller versions in marshal-lightweight. However, this change gets some immediate savings with relatively minimal work.
Contributes to: #61685