Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Merge NMirror to Master - #1526

Merged
MichalStrehovsky merged 11 commits into
masterfrom
nmirror
Jul 17, 2016
Merged

MichalStrehovsky merged 11 commits into
masterfrom
nmirror

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

No description provided.

MichalStrehovsky and others added 7 commits July 13, 2016 10:00
…scenario.

Changes the implementation of MethodInfo.Invoke to use metadata to get default values for parameters instead of the string serialized version in the invoke map.

Changes:
- Change the invoke utils to call back to delegate/reflection when default parameter value is needed.
- Use a 'context' for this purpose which is either a delegate instance or method info.
- Move the string parsing logic over to delegates which are now the sole users of this
- Modify invokers to use the new mechanism.
- Remove the default value string from the method invoke map (NUTC and TypeLoader).
- Remove the default value string method/table generated by ReflectionInvokeTransform.

[tfs-changeset: 1617702]
Changes the implementation of MethodInfo.Invoke to use metadata to get default values for parameters instead of the string serialized version in the invoke map.

Changes:
- Change the invoke utils to call back to delegate/reflection when default parameter value is needed.
- Use a 'context' for this purpose which is either a delegate instance or method info.
- Move the string parsing logic over to delegates which are now the sole users of this
- Modify invokers to use the new mechanism.
- Remove the default value string from the method invoke map (NUTC and TypeLoader).
- Remove the default value string method/table generated by ReflectionInvokeTransform.

[tfs-changeset: 1617702]
…f ENABLE_WINRT , but just enough to get things working.Mostly get things working kind of change , but i am doing some refactoring to move runtime APIs to a Runtime Access Layer. Currently #ifCORECLR strictly means Mcg of CoreCLR feature even though Minimal WinRT mode is supposed to run on CoreCLR ( eventualy on Mono). Goal is to to keep S.P.Interop OS neutral , but atleast part of S.P.Interop need to be runtime specific.

[tfs-changeset: 1617715]
Move to using the Universal Thunk for cases where we need to perform complex lookup to perform interface dispatch. This allows us to permit exceptions to occur in interface processing without ripping the process down. As a side benefit, we are able to reduce the amount of platform specific assembly code needed to build the product. NOTE: CoreRT still uses the old managed callout logic, as I don't have time on my schedule to write a SYS V ABI version of the universal transition thunk.

[tfs-changeset: 1618006]
Move to using the Universal Thunk for cases where we need to perform complex lookup to perform interface dispatch. This allows us to permit exceptions to occur in interface processing without ripping the process down. As a side benefit, we are able to reduce the amount of platform specific assembly code needed to build the product. NOTE: CoreRT still uses the old managed callout logic, as I don't have time on my schedule to write a SYS V ABI version of the universal transition thunk.

[tfs-changeset: 1618006]
MichalStrehovsky and others added 3 commits July 15, 2016 14:28
…versal Thunk

This broke debugger stepping through interface dispatch in some circumstances

[tfs-changeset: 1618045]
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

Unix is failing due to the ManagedCalloutThunk -> Universal Thunk change. The fix is to simply make inclusion of a file in the Runtime.Base.csproj conditional, but the entire change is getting rolled back for now because it breaks debugging on Project N.

@MichalStrehovsky
MichalStrehovsky merged commit 37ab73b into master Jul 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants