Skip to content
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] Clean up the delegate ctor code. #83288

Merged
merged 4 commits into from
Mar 13, 2023
Merged

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Mar 11, 2023

  • Merge the virtual and non-virtual cases.
  • Name variables etc. delegate info instead of delegate trampoline.
  • Avoid setting the del->is_virtual field if its FALSE.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@vargaz
Copy link
Contributor Author

vargaz commented Mar 11, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Mar 11, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Mar 11, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Mar 11, 2023

It would be easier to review the commits one-by-one instead of the final diff.

@vargaz
Copy link
Contributor Author

vargaz commented Mar 11, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vargaz
Copy link
Contributor Author

vargaz commented Mar 11, 2023

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

vargaz added 4 commits March 12, 2023 06:25
* Merge the virtual and non-virtual cases.
* Reorder the code in handle_delegate_ctor () to reduce the llvm_only conditionals.
* Name variables etc. delegate info instead of delegate trampoline.
* Avoid setting the del->is_virtual field if its FALSE.
@vargaz
Copy link
Contributor Author

vargaz commented Mar 12, 2023

Failures are unrelated.

@vargaz vargaz merged commit bbc7e06 into dotnet:main Mar 13, 2023
@vargaz vargaz deleted the del-cleanup-2 branch March 13, 2023 13:43
@ghost ghost locked as resolved and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants