about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-07 14:05:32 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-07 14:07:58 -0500
commitaec62af7427083ac7f6dcb2fd484876199147fdc (patch)
treef8662116d1ccac393c02aa29201341e6f86e091a /src/rustllvm/RustWrapper.cpp
parentcf136cd3507a5e929cff8d03179c0f6d96bdb687 (diff)
downloadrust-aec62af7427083ac7f6dcb2fd484876199147fdc.tar.gz
rust-aec62af7427083ac7f6dcb2fd484876199147fdc.zip
Solve rather subtle bug in `replace_late_bound_regions` -- we were passing the debruijn index in so that callees could construct late-bound regions at the right depth, but then the result was cached. When the cached result was used, it might be at the wrong depth. So now we don't pass the result in and instead simply adjust the depth to match the current nesting level as we go.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions