Skip to content

Conversation

@9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Sep 5, 2014

This is the final improvement for the template instantiation model.

To detect speculative instantiations in codegen phase, tnext is neccesary for the test6() case runnable/link13350.d. That's a big difference from the PR #2550.

@9rnsr 9rnsr force-pushed the fix_tinst branch 3 times, most recently from 2ae1fb8 to 437cfda Compare September 7, 2014 10:36
To detect speculative instantiations in codegen phase, `tnext` is neccesary for the `test6()` case `runnable/link13350.d`. That's a big difference from the PR dlang#2550.
WalterBright added a commit that referenced this pull request Sep 14, 2014
Add TemplateInstance::tnext to construct instantiation dependency graph
@WalterBright WalterBright merged commit fc7d446 into dlang:master Sep 14, 2014
@9rnsr 9rnsr deleted the fix_tinst branch September 15, 2014 02:17
@9rnsr
Copy link
Contributor Author

9rnsr commented Sep 15, 2014

Thanks!

@CyberShadow
Copy link
Member

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=13479

9rnsr added a commit to 9rnsr/dmd that referenced this pull request Sep 15, 2014
…ixed in functions

In the PR dlang#3948, I changed the position where `TemplateInstance`s are inserted.

https://github.com/D-Programming-Language/dmd/pull/3948/files#diff-0477a1d81a6a920c99362954179c59c8R5937

But, I didn't notice that glue-layer does not handle `TemplateInstance`s in local members.
@sinkuu
Copy link

sinkuu commented Feb 1, 2015

Another regression: https://issues.dlang.org/show_bug.cgi?id=14074

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants