summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-09-05 21:43:04 +0000
committerDuncan Sands <baldrick@free.fr>2008-09-05 21:43:04 +0000
commit9e236028491d03249ac2c32c632ec7018ab06b8a (patch)
tree3ba017fdbbb638c9b6ef0836cd254976b963ca47 /clang/lib/AST/ASTContext.cpp
parent7db9a7874b1dec4f67b9024684eb79bb0c447a3c (diff)
downloadbcm5719-llvm-9e236028491d03249ac2c32c632ec7018ab06b8a.tar.gz
bcm5719-llvm-9e236028491d03249ac2c32c632ec7018ab06b8a.zip
Delete the removeCallEdgeTo callgraph method,
because it does not maintain a correct list of callsites. I discovered (see following commit) that the inliner will create a wrong callgraph if it is fed a callgraph with correct edges but incorrect callsites. These were created by Prune-EH, and while it wasn't done via removeCallEdgeTo, it could have been done via removeCallEdgeTo, which is an accident waiting to happen. Use removeCallEdgeFor instead. llvm-svn: 55859
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud