about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2018-11-06 22:31:09 -0500
committerWesley Wiser <wwiser@gmail.com>2018-11-09 22:11:40 -0500
commit3cce5c79778088a26f6099f293256d5d7834fdb3 (patch)
tree6684650ae06e79c0806415acb3e15e12cf076a51 /src/rustllvm/RustWrapper.cpp
parent36a50c29f6c5c386fba6ab685818755ac55152e5 (diff)
downloadrust-3cce5c79778088a26f6099f293256d5d7834fdb3.tar.gz
rust-3cce5c79778088a26f6099f293256d5d7834fdb3.zip
Don't inline virtual calls (take 2)
When I fixed the previous mis-optimizations, I didn't realize there were
actually two different places where we mutate `callsites` and both of
them should have the same behavior.

As a result, if a function was inlined and that function contained
virtual function calls, they were incorrectly being inlined. I also
added a test case which covers this.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions