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

Merge master to nmirror - #1394

Merged
jkotas merged 39 commits into
nmirrorfrom
master
Jun 10, 2016
Merged

jkotas merged 39 commits into
nmirrorfrom
master

Conversation

@jkotas

@jkotas jkotas commented Jun 10, 2016

Copy link
Copy Markdown
Member

No description provided.

jkotas and others added 30 commits June 1, 2016 02:22
This is an awkward method to expose from the public surface area. Make
 it protected.
Change to nuget v3 apis for feeds
Mostly, adding comments for things that are unlikely to change.

Also:
* Move Instantiation to a separate file. We generally keep helper
structs together with classes that use them, but this one is used by
generic methods too and doesn't feel like something intrinsic to
TypeDesc.
* Delete useless overrides on ArrayMethod. Base implementation is
identical.
* Add a comment about weird overrides of GetTypeDefinition. Their
purpose puzzles me - we should either document it, or delete them. I
don't think anything relies on the sematic.
Returning `this` (which is what the base implementation does) is as good
as the implementation I'm deleting. This operation is only meaningful
for generic type instances, but we expose the method on `TypeDesc` for
perf reasons.

The less code - the fewer bugs. Bonus points for finding the bug in the
code I'm deleting.
* Remove the workaround for BadFormat exception on CoreCLR stdcall.

The real issues is that CoreCLR do not like the generic stdcall<T> methods  , we have a mix of generic and non-generic vrsion of these  stdcalls litered around and i will remove all the generic ones as part of the minimal WinRT work.

[tfs-changeset: 1610034]

* Forgot to update the shelveset before the last check-in

[tfs-changeset: 1610067]

* Remove usage of Enum.HasFlag in EEType.cs

Runtime.Base doesn't have it in it's version of System.Enum and this is pretty inefficient anyway.

[tfs-changeset: 1610071]

* Add more properties to the common EEType.cs

In preparation for switching Runtime.Base to use the common EEType.cs, I'm adding a few easy properties to it.

[tfs-changeset: 1610426]

* Port canonicalization support to open
These helpers have to be implemented in assembly for non-portable runtime flavor to make stackcrawling work.
Implement non-varg new multi-dimensional array helper
- Pick up the package from the official feeds
- Delete vararg RhNewMDArray helper
Replaced it with INPLACE_RUNTIME that should eventually evaporate with EEType refactoring
`ArrayType.Rank` should only be consulted if we're comparing multidim
arrays.
Canonicalization fixes

* Hook up canonicalization support to the type system project
* Add a unit test for canonicalization
* Fix a bug in MdArray/SzArray creation uncovered by the new unit tests
* Add canonicalization of array methods
- IsValueType property
- IsPrimitive property
- InstanceFieldSize property
Add a comment to ComputeTypeFlags on signature variables
janvorli and others added 9 commits June 8, 2016 22:53
The stresslog in corert was not working properly due to the dummy definition of
the logging macros in gcenv.base.h. I have moved those dummy macros to the
gcenv.h of the GC sample and modified gcenv.h of the runtime to include the
stressLog.h.
I also had to change two calls to Object::GetMethodTable in the logging
macros to Object::GetGCSafeMethodTable, since Object in CoreRT doesn't
contains GetMethodTable.
Add Type System Overview doc
This is a wrong behavior. InstantiateSignature should use the base
implementation here (i.e. do nothing).
@jkotas
jkotas merged commit 3ccb5ed into nmirror Jun 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.

8 participants