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

Merge master to nmirror - #1633

Merged
jkotas merged 14 commits into
nmirrorfrom
master
Aug 10, 2016
Merged

jkotas merged 14 commits into
nmirrorfrom
master

Conversation

@jkotas

@jkotas jkotas commented Aug 10, 2016

Copy link
Copy Markdown
Member

No description provided.

wjk and others added 14 commits July 29, 2016 15:59
* Add CORERT define to System.Private.Interop.csproj

* Put currently broken code under #if !CORERT

See <#1596> for the context.
- Move link to .NET Core contribution guidelines to front page
- Tweak links to developer guide
Straightforward port from `NativeFormatWriter.cpp`.

It's not used yet, but will be. I just don't want to sit on this or I'll
lose it before I get to using it.
Avoids a string allocation. I don't think it would measurably help with
perf in any benchmark, but this is how we would write this if we had
`HashCodeBuilder` when the code was written...
Microsoft.Net.Compilers 2.0.0-beta3 has support for byref locals and returns that will allow us to improve and simplify number of low-level constructs in the runtime.
Split EEType into two pieces: the non-constructed EETypeNode and the
constructed ConstructedEETypeNode.
Generic type definitions get their own GenericDefinitionEETypeNode node
which matches the the one produced by the binder.

Both the constructed and the generic nodes inherit from EETypeNode.
GenericDefinitionEETypeNode could exist without inheriting from
EETypeNode, however this simplifies code that expects to get back a
common usable ObjectNode/ISymbolNode from the NodeFactory. For example,
TypeMetadataMapNode.GetData would require special casing for the
different EEType node kinds if the various EEType nodes were independent
of eachother.
Refactor EETypeNode into a hierarchy
Use dependency Node infrastructure to generate C++ code, instead of relying on type iteration.
Use dependency analysis nodes in C++ writer instead of a custom list built during C++ import
@jkotas
jkotas merged commit 742d2e4 into nmirror Aug 10, 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.

7 participants