From ba110d51de1994dd5f1a38e224b442dd1609d24f Mon Sep 17 00:00:00 2001 From: Carol Eidt Date: Mon, 14 May 2018 18:06:59 -0700 Subject: [PATCH] Update first-class-structs.md fix duplication --- Documentation/design-docs/first-class-structs.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Documentation/design-docs/first-class-structs.md b/Documentation/design-docs/first-class-structs.md index ca7f605..de92326 100644 --- a/Documentation/design-docs/first-class-structs.md +++ b/Documentation/design-docs/first-class-structs.md @@ -24,7 +24,7 @@ The following issues illustrate some of the motivation for improving the handlin * [\#11407 [RyuJIT] Fully enregister structs that fit into a single register when profitable](https://github.com/dotnet/coreclr/issues/11407), also VSO Bug 98404: .NET JIT x86 - poor code generated for value type initialization * This is a simple test case that should generate simply `xor eax; ret` on x86 and x64, but instead generates many unnecessary copies. It is addressed by full enregistration of - structs that fit into a register: + structs that fit into a register (see work item 7): ```C# struct foo { public byte b1, b2, b3, b4; } @@ -74,9 +74,6 @@ static foo getfoo() { return new foo(); } Addressing this requires us to "Add support in prolog to extract fields, and remove the restriction of not promoting incoming reg structs that have more than one field" - see [Dependent Work Items](https://github.com/dotnet/coreclr/blob/master/Documentation/design-docs/first-class-structs.md#dependent-work-items) -* [\#11407 [RyuJIT] Fully enregister structs that fit into a single register when profitable](https://github.com/dotnet/coreclr/issues/11407) - * See work item 7. - Normalizing Struct Types ------------------------ We would like to facilitate full enregistration of structs with the following properties: -- 2.7.4