about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-31 09:53:49 +0000
committerbors <bors@rust-lang.org>2015-05-31 09:53:49 +0000
commit243e85f393a9e4527d814ecc9dfe23d2e3f9c737 (patch)
treec5e3a4d340de4c412277ddf3a02a563726916a3f /src/rustllvm/ExecutionEngineWrapper.cpp
parent93991f75555c5fdb48bc69480c78dd3ff9cc8dd5 (diff)
parent4a4315bf4bbd8559020689ff6e99d44004c8adb8 (diff)
downloadrust-243e85f393a9e4527d814ecc9dfe23d2e3f9c737.tar.gz
rust-243e85f393a9e4527d814ecc9dfe23d2e3f9c737.zip
Auto merge of #25921 - eddyb:inline-calculate-offsets, r=Aatch
The `HashMap` and `HashSet` iterators use `RawTable::first_bucket_raw` which is generic and will get inlined cross-crate.
However, `first_bucket_raw` calls `calculate_offsets` and the call doesn't get inlined, despite being a simple function.
This missing `#[inline]` results in `hash_table::calculate_offsets` showing up at the top of a callgrind profile with 3 million calls (for the testcase in #25916).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions