diff options
| author | Aaron Turon <aturon@mozilla.com> | 2015-12-22 10:17:59 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2016-03-14 15:04:34 -0700 |
| commit | c5849e4dff28784ec0c3d5ace090b1da9439ec1f (patch) | |
| tree | 80312fc957263a472f4ecc8aea822e339f968b72 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 45f4bf112a422fe62b9152ecf557f8550eb9c7ca (diff) | |
| download | rust-c5849e4dff28784ec0c3d5ace090b1da9439ec1f.tar.gz rust-c5849e4dff28784ec0c3d5ace090b1da9439ec1f.zip | |
Add specialization module.
The module contains a few important components: - The `specialize` function, which determines whether one impl is a specialization of another. - The `SpecializationGraph`, a per-trait graph recording the specialization tree. The main purpose of the graph is to allow traversals upwards (to less specialized impls) for discovering un-overridden defaults, and for ensuring that overridden items are allowed to be overridden.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
