about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-11 11:14:55 +0530
committerGitHub <noreply@github.com>2022-08-11 11:14:55 +0530
commit58dc085e270a0ecdbdeabd928ebb7583f499542c (patch)
treec32218c7c38637b960663c95d6e4dba478fc066f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent8bdb414348ac4b324d55e8449a452c789dc5d3dc (diff)
parent7d2131a2048521ee1dfc41a12b2f5007effc1f26 (diff)
downloadrust-58dc085e270a0ecdbdeabd928ebb7583f499542c.tar.gz
rust-58dc085e270a0ecdbdeabd928ebb7583f499542c.zip
Rollup merge of #100192 - tmiasko:rm-duplicated-locals, r=nagisa
 Remove duplicated temporaries creating during box derefs elaboration

Temporaries created with `MirPatch::new_temp` will be declared after
patch application. Remove manually created duplicate declarations.

Removing duplicates exposes another issue. Visitor elaborates
terminator twice and attempts to access new, but not yet available,
local declarations. Remove duplicated call to `visit_terminator`.

Extracted from #99946.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions