about summary refs log tree commit diff
path: root/src/test/mir-opt/inline-trait-method_2.rs
AgeCommit message (Collapse)AuthorLines
2019-02-15Always emit an error for a query cycleJohn Kåre Alsaker-4/+4
2018-11-09Don't inline virtual calls (take 2)Wesley Wiser-0/+36
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.