From a7aed18624f7783b7c31b06069c43bec89f1813f Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 6 Aug 2010 18:33:48 +0000 Subject: Reapply r110396, with fixes to appease the Linux buildbot gods. llvm-svn: 110460 --- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/IPO/ArgumentPromotion.cpp') diff --git a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp index 4cd4e17f3d2..0c77e1fd8cf 100644 --- a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp +++ b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp @@ -67,7 +67,7 @@ namespace { virtual bool runOnSCC(CallGraphSCC &SCC); static char ID; // Pass identification, replacement for typeid explicit ArgPromotion(unsigned maxElements = 3) - : CallGraphSCCPass(&ID), maxElements(maxElements) {} + : CallGraphSCCPass(ID), maxElements(maxElements) {} /// A vector used to hold the indices of a single GEP instruction typedef std::vector IndicesVector; -- cgit v1.2.3