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

Conversation

@nattress

@nattress nattress commented Feb 3, 2017

Copy link
Copy Markdown
Contributor
  • Add a few new node types used when the UTC compiler hosts ILCompiler:
    ThreadStaticsIndexNode, ThreadStaticsOffsetNode, GCStaticDescNode,
    UtcDictionaryLayoutNode.
  • Add a UTC-specific UtcNodeFactory
  • Various type visibility changes

{
public class UtcNodeFactory : NodeFactory
{
public static string CompilationUnitPrefix = "";

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be on the NameMangler.CompilationUnitPrefix plan. I'll have to go fix it internally so I can test the change before I change it here.

int numSeries = 0;
foreach (EmbeddedObjectNode node in NodesList)
{
GCStaticDescNode descNode = node as GCStaticDescNode;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this cast is redundant. NodesList is of type IEnumerable<TEmbedded>

@MichalStrehovsky MichalStrehovsky mentioned this pull request Feb 3, 2017
6 of 21 tasks
* Add a few new node types used when the UTC compiler hosts ILCompiler:
`ThreadStaticsIndexNode`, `ThreadStaticsOffsetNode`, `GCStaticDescNode`,
`UtcDictionaryLayoutNode`.
* Add a UTC-specific `UtcNodeFactory`
* Various type visibility changes
@nattress
nattress merged commit 71d99ed into dotnet:master Feb 3, 2017
nattress added a commit to nattress/corert that referenced this pull request Feb 3, 2017
dotnet#2648 added
`ObjectDataBuilder.AddSymbol` to avoid exposing ArrayBuilder class.
Migrate all uses of `ObjectDataBuilder.DefinedSymbols.Add` to
`AddSymbol`.

Rename the alignment methods to be clearer that they set the overall
alignment; ie, they don't provide padding between each emission of data
within the object.
nattress added a commit to nattress/corert that referenced this pull request Feb 3, 2017
dotnet#2648 added
`ObjectDataBuilder.AddSymbol` to avoid exposing ArrayBuilder class.
Migrate all uses of `ObjectDataBuilder.DefinedSymbols.Add` to
`AddSymbol`.

Rename the alignment methods to be clearer that they set the overall
alignment; ie, they don't provide padding between each emission of data
within the object.
nattress added a commit that referenced this pull request Feb 4, 2017
#2648 added
`ObjectDataBuilder.AddSymbol` to avoid exposing ArrayBuilder class.
Migrate all uses of `ObjectDataBuilder.DefinedSymbols.Add` to
`AddSymbol`.

Rename the alignment methods to be clearer that they set the overall
alignment; ie, they don't provide padding between each emission of data
within the object.
@nattress
nattress deleted the projectnhosting branch June 26, 2017 18:18
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.

3 participants