diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-31 04:09:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-31 04:09:04 +0000 |
commit | 2f2110affaea0005ebe411451efdf7e6ca467b87 (patch) | |
tree | 29f4c85c79b1512d74e34f7f4f74cd4aeafc71f9 /llvm/lib/Support/FormattedStream.cpp | |
parent | edcbfe85290b9337837921d029e0c2a5ce9a3413 (diff) | |
download | bcm5719-llvm-2f2110affaea0005ebe411451efdf7e6ca467b87.tar.gz bcm5719-llvm-2f2110affaea0005ebe411451efdf7e6ca467b87.zip |
simplify some code by making the SCCNodes set contain Function*'s
instead of CallGraphNode*'s. This also papers over a callgraph
problem where a pass (in this case, MemCpyOpt) introduces a new
function into the module (llvm.memset.i64) but doesn't add it to
the call graph (nor should it, since it is a function pass).
While it might be a good idea for MemCpyOpt to not synthesize
functions in a runOnFunction(), there is no need for FunctionAttrs
to be boneheaded, so fix it there. This fixes an assertion building
176.gcc.
llvm-svn: 80535
Diffstat (limited to 'llvm/lib/Support/FormattedStream.cpp')
0 files changed, 0 insertions, 0 deletions