about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-05-23 09:55:40 +0000
committerbors <bors@rust-lang.org>2017-05-23 09:55:40 +0000
commit5b13bff5203c1bdc6ac6dc87f69b5359a9503078 (patch)
tree8338acddadde092f977e7814f28b25fa68922841 /src/rustllvm/RustWrapper.cpp
parent9fa25a7df3a1101a1dac611f3e45fa5b09836d27 (diff)
parent8a4e5933df9a9252080f445b29621acc4afb459a (diff)
downloadrust-5b13bff5203c1bdc6ac6dc87f69b5359a9503078.tar.gz
rust-5b13bff5203c1bdc6ac6dc87f69b5359a9503078.zip
Auto merge of #42023 - nikomatsakis:issue-36799-ostn15_phf, r=arielb1
introduce local-scope to prevent `StorageLive`/`StorageDead` in statics

In investigating #36799, I found that we were creating storage-live/storage-dead instructions in statics/constants, where they are not needed. This arose due to the fix for local scopes. This PR tries to fix that (and adds a test -- I'm curious if there is a way to make that test more targeted, though).

r? @arielb1
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions