aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-01 01:05:10 +0000
committerChris Lattner <sabre@nondot.org>2010-05-01 01:05:10 +0000
commit159528702aed7222cb30c3e8b55287e4ca8068cf (patch)
treeaba3694ba2e263e867cc0151f1d96690d7f053b1 /lib/ExecutionEngine/Interpreter/Interpreter.h
parent3a401bcd04e3a04eea9e91649e1a820ff7cc60c1 (diff)
The inliner has traditionally not considered call sites
that appear due to inlining a callee as candidates for futher inlining, but a recent patch made it do this if those call sites were indirect and became direct. Unfortunately, in bizarre cases (see testcase) doing this can cause us to infinitely inline mutually recursive functions into callers not in the cycle. Fix this by keeping track of the inline history from which callsite inline candidates got inlined from. This shouldn't affect any "real world" code, but is required for a follow on patch that is coming up next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
0 files changed, 0 insertions, 0 deletions