about summary refs log tree commit diff
path: root/src/rustllvm/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-06-19 22:41:21 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-06-20 23:53:28 +0200
commit75681f9ad7a6b79c5a34fd80c95c22258e30ddb5 (patch)
tree53a7bfddff8a8b8c5ba22b8bcaeb60b3c680b443 /src/rustllvm/MachOObjectFile.cpp
parent3d8a5cb9e67d0e38d2062bd7685aa5514305dfc6 (diff)
downloadrust-75681f9ad7a6b79c5a34fd80c95c22258e30ddb5.tar.gz
rust-75681f9ad7a6b79c5a34fd80c95c22258e30ddb5.zip
Get rid of def_ids and anns in AST nodes, use single node_id
This reduces some redundancy in the AST data structures and cruft in
the code that works with them. To get a def_id from a node_id, apply
ast::local_def, which adds the local crate_num to the given node_id.
Most code only deals with crate-local node_ids, and won't have to
create def_ids at all.
Diffstat (limited to 'src/rustllvm/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions