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

Merge nmirror to master - #1587

Merged
MichalStrehovsky merged 6 commits into
masterfrom
nmirror
Jul 28, 2016
Merged

MichalStrehovsky merged 6 commits into
masterfrom
nmirror

Conversation

@jkotas

@jkotas jkotas commented Jul 28, 2016

Copy link
Copy Markdown
Member

No description provided.

jkotas and others added 6 commits July 25, 2016 13:23
This is to fix bug 241854, where interop generated a spin loop around a call to RhYield and, via a few levels of inlining, the compiler emitted a tight loop around a call to RhYield without loop hijacking in the loop codegen.  This is because the compiler assumes all “normal” calls (such as this one) will allow hijacking.  Unfortunately, this isn’t the case for this method, which is a RuntimeImport from System.Private.CoreLib to some runtime unmanaged code, which is not hijackable.  The fix, in this case, is to pinvoke to RhYield instead of using RuntimeImport.

[tfs-changeset: 1619386]
Cleanup RuntimeImport/RuntimeExport hack used to implement string constructors

[tfs-changeset: 1619659]
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