about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-22 12:20:31 +0100
committerGitHub <noreply@github.com>2019-01-22 12:20:31 +0100
commit973e754fc4d31fdcd97647aaca7c2419050df393 (patch)
treedc94ff88875a1aa61d3944fd2ba00c78ea1660da /src/rustllvm/RustWrapper.cpp
parent7fb44e860430286e22f9f77b9963ff0f0622d01a (diff)
parent98d4f33626c4a18092cd015b4e1cc15381989677 (diff)
downloadrust-973e754fc4d31fdcd97647aaca7c2419050df393.tar.gz
rust-973e754fc4d31fdcd97647aaca7c2419050df393.zip
Rollup merge of #57677 - dotdash:locals, r=michaelwoerister
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