summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-10-08 22:12:48 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-10-08 22:12:48 +0000
commit7c3b5d94447e840b671fab992ceec3d84f025fbf (patch)
tree6a30819587b124d90556e6e30a5f7c6c2a9438c7 /llvm/lib/Transforms/IPO
parent9d1173a86e6cad50e506008bc3e35b57c714612d (diff)
downloadbcm5719-llvm-7c3b5d94447e840b671fab992ceec3d84f025fbf.tar.gz
bcm5719-llvm-7c3b5d94447e840b671fab992ceec3d84f025fbf.zip
Give CaptureTracker::shouldExplore a base implementation. Most users want to do
the same thing. No functionality change. llvm-svn: 165435
Diffstat (limited to 'llvm/lib/Transforms/IPO')
-rw-r--r--llvm/lib/Transforms/IPO/FunctionAttrs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
index f974bd0c045..0e16589ecec 100644
--- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
@@ -276,8 +276,6 @@ namespace {
void tooManyUses() { Captured = true; }
- bool shouldExplore(Use *U) { return true; }
-
bool captured(Use *U) {
CallSite CS(U->getUser());
if (!CS.getInstruction()) { Captured = true; return true; }
OpenPOWER on IntegriCloud