llvm-svn: 108252
This commit is contained in:
Eric Christopher 2010-07-13 18:27:13 +00:00
parent f241d4626c
commit ea282034b6
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ bool Inliner::runOnSCC(CallGraphSCC &SCC) {
// We can only inline direct calls to non-declarations. // We can only inline direct calls to non-declarations.
if (Callee == 0 || Callee->isDeclaration()) continue; if (Callee == 0 || Callee->isDeclaration()) continue;
// If this call sites was obtained by inlining another function, verify // If this call site was obtained by inlining another function, verify
// that the include path for the function did not include the callee // that the include path for the function did not include the callee
// itself. If so, we'd be recursively inlinling the same function, // itself. If so, we'd be recursively inlinling the same function,
// which would provide the same callsites, which would cause us to // which would provide the same callsites, which would cause us to