From 7c3b5d94447e840b671fab992ceec3d84f025fbf Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 8 Oct 2012 22:12:48 +0000 Subject: Give CaptureTracker::shouldExplore a base implementation. Most users want to do the same thing. No functionality change. llvm-svn: 165435 --- llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp') 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; } -- cgit v1.2.3