diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2012-10-08 22:12:48 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2012-10-08 22:12:48 +0000 |
| commit | 7c3b5d94447e840b671fab992ceec3d84f025fbf (patch) | |
| tree | 6a30819587b124d90556e6e30a5f7c6c2a9438c7 /llvm/lib/Transforms/IPO | |
| parent | 9d1173a86e6cad50e506008bc3e35b57c714612d (diff) | |
| download | bcm5719-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.cpp | 2 |
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; } |

