Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TemplateInstance::tnext to construct instantiation dependency graph #3948

Merged
merged 1 commit into from Sep 14, 2014

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.

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
4 participants