about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2017-03-14 15:50:40 +0100
committerMichael Woerister <michaelwoerister@posteo.net>2017-03-22 17:02:07 +0100
commitbc259ee844f608599293c83d96de353005681cca (patch)
treeb2bfc622dd14072f227b8e7f8c56567d594c263d /src/rustllvm/PassWrapper.cpp
parent559127b4517229115397404f20167bc7b702d3d6 (diff)
downloadrust-bc259ee844f608599293c83d96de353005681cca.tar.gz
rust-bc259ee844f608599293c83d96de353005681cca.zip
Introduce HirId, a replacement for NodeId after lowering to HIR.
HirId has a more stable representation than NodeId, meaning that
modifications to one item don't influence (part of) the IDs within
other items. The other part is a DefIndex for which there already
is a way of stable hashing and persistence.

This commit introduces the HirId type and generates a HirId for
every NodeId during HIR lowering, but the resulting values are
not yet used anywhere, except in consistency checks.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions