about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-07-29 16:49:26 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-08-02 05:31:25 -0400
commitc56eb4b7f5206f157aa200e8424f697791990d27 (patch)
tree0969dd346e106fc0ac6d0807a886f44133c297ed /src/rustllvm/RustWrapper.cpp
parent9294f8ed0a053af18be8247ef589bc16775bd038 (diff)
downloadrust-c56eb4b7f5206f157aa200e8424f697791990d27.tar.gz
rust-c56eb4b7f5206f157aa200e8424f697791990d27.zip
remap Hir(InlinedDefId) to MetaData(OriginalDefId)
The way we do HIR inlining introduces reads of the "Hir" into the graph,
but this Hir in fact belongs to other crates, so when we try to load
later, we ICE because the Hir nodes in question don't belond to the
crate (and we haven't done inlining yet). This pass rewrites those HIR
nodes to the metadata from which the inlined HIR was loaded.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions