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 | c92b8aa79f4a2cd16f7b674189e425c2c367e886 (patch) | |
tree | aaa2cbd2342ad1e9f67b04a26d5d1122f12a36d4 /lib/Transforms/IPO/FunctionAttrs.cpp | |
parent | 6be75ae196e0138048f685d4df7128d24245be5e (diff) |
Give CaptureTracker::shouldExplore a base implementation. Most users want to do
the same thing. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/FunctionAttrs.cpp')
-rw-r--r-- | lib/Transforms/IPO/FunctionAttrs.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/FunctionAttrs.cpp b/lib/Transforms/IPO/FunctionAttrs.cpp index f974bd0c04..0e16589ece 100644 --- a/lib/Transforms/IPO/FunctionAttrs.cpp +++ b/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; } |