diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-06-19 22:41:21 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-06-20 23:53:28 +0200 |
| commit | 75681f9ad7a6b79c5a34fd80c95c22258e30ddb5 (patch) | |
| tree | 53a7bfddff8a8b8c5ba22b8bcaeb60b3c680b443 /src/rustllvm/MachOObjectFile.cpp | |
| parent | 3d8a5cb9e67d0e38d2062bd7685aa5514305dfc6 (diff) | |
| download | rust-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
