diff options
| author | bors <bors@rust-lang.org> | 2013-08-30 02:25:47 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-30 02:25:47 -0700 |
| commit | f10e50a4beecbf6afa51870190458d34f216fe54 (patch) | |
| tree | 5e35bd2e6945ef6e97d6aca5ef18bbf9f507aab9 /src/rustllvm/RustWrapper.cpp | |
| parent | f94844c55893de9489cf64c4a8b9d66c962a560b (diff) | |
| parent | 2c1d6568f253a2310a0b4a06064b2cf0271aa6be (diff) | |
| download | rust-f10e50a4beecbf6afa51870190458d34f216fe54.tar.gz rust-f10e50a4beecbf6afa51870190458d34f216fe54.zip | |
auto merge of #8843 : alexcrichton/rust/fix-bug, r=huonw
Whenever a generic function was encountered, only the top-level items were recursed upon, even though the function could contain items inside blocks or nested inside of other expressions. This fixes the existing code from traversing just the top level items to using a Visitor to deeply recurse and find any items which need to be translated. This was uncovered when building code with --lib, because the encode_symbol function would panic once it found that an item hadn't been translated. Closes #8134
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
