about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-30 20:51:22 +0000
committerbors <bors@rust-lang.org>2014-07-30 20:51:22 +0000
commit7c28dd080ce4253d8b0126d6cf9bfc2ba0004cf8 (patch)
tree64151d916e814fc6f1724e7ce15f493016f04dfb /src/rustllvm/RustWrapper.cpp
parent7a25cf3f30fa5fae2e868fa910ecc850f5e9ee65 (diff)
parentf97f65f7b70e455c1c3e72e620120c9f1a96d89a (diff)
downloadrust-7c28dd080ce4253d8b0126d6cf9bfc2ba0004cf8.tar.gz
rust-7c28dd080ce4253d8b0126d6cf9bfc2ba0004cf8.zip
auto merge of #16059 : epdtry/rust/mono-item-dedup, r=alexcrichton
Currently, each time a function is monomorphized, all items within that function are translated.  This is unnecessary work because the inner items already get translated when the function declaration is visited by `trans_item`.  This patch adds a flag to the `FunctionContext` to prevent translation of items during monomorphization.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions