diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2019-01-16 20:45:53 +0100 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2019-01-20 19:08:14 +0100 |
| commit | 98d4f33626c4a18092cd015b4e1cc15381989677 (patch) | |
| tree | 88a32a9725d798d8e3cb11ed24b8375cfcb939be /src/rustllvm/RustWrapper.cpp | |
| parent | 33e6df4b62237af312bf6e3f40a97f5bdc94949a (diff) | |
| download | rust-98d4f33626c4a18092cd015b4e1cc15381989677.tar.gz rust-98d4f33626c4a18092cd015b4e1cc15381989677.zip | |
const_eval: Predetermine the layout of all locals when pushing a stack frame
Usually the layout of any locals is required at least three times, once when it becomes live, once when it is written to, and once it is read from. By adding a cache for them, we can reduce the number of layout queries speeding up code that is heavy on const_eval.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
