D-Programming-Language/druntime — pull request #941 by rainers (2014-08-30 14:47:41+00:00)
Title: Issue 13404 - heap-allocating a struct passes TypeInfo_Pointer to the GC, not TypeInfo_struct

When allocating a struct with "new", do not pass the pointer type info to the GC, but the struct type info.

The fix also provides a small performance improvement as it no longer calls the virtual function TypeInfo.next() multiple times