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

CPP Code Gen from EETypeNodes - #1611

Merged
nattress merged 1 commit into
dotnet:masterfrom
A-And:CPP-Code-Gen-Merged
Aug 10, 2016
Merged

nattress merged 1 commit into
dotnet:masterfrom
A-And:CPP-Code-Gen-Merged

Conversation

@A-And

@A-And A-And commented Aug 2, 2016

Copy link
Copy Markdown
Contributor

Corrected and squashed into a single commit.

}

dependencyList.Add(factory.VTable(_type), "VTable");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please can you clean up all these white space changes? It makes it hard to see the real changes.

@A-And
A-And force-pushed the CPP-Code-Gen-Merged branch from d4fee80 to d2367d9 Compare August 10, 2016 17:50
Use dependency Node infrastructure to generate C++ code, instead of relying on type iteration.
@A-And
A-And force-pushed the CPP-Code-Gen-Merged branch from d2367d9 to b2153ee Compare August 10, 2016 17:59
@nattress
nattress merged commit 04e3001 into dotnet:master Aug 10, 2016
protected override void OnMarked(NodeFactory context)
{
Debug.Assert(_type.IsTypeDefinition || !_type.HasSameTypeDefinition(context.ArrayOfTClass), "Asking for Array<T> EEType");
//Debug.Assert(_type.IsTypeDefinition || !_type.HasSameTypeDefinition(context.ArrayOfTClass), "Asking for Array<T> EEType");

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.

Commented out code should either have an explanation as to why it's commented out, or should be deleted.

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.

(And if there's an explanation, there should be a GitHub issue tracking it with a link to it in the comment.)

@A-And
A-And deleted the CPP-Code-Gen-Merged branch December 15, 2017 19:26
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