From: Owen Anderson Date: Tue, 10 Jul 2007 20:20:19 +0000 (+0000) Subject: Make the pass registration static. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=16a72bb47d88ebf4da7e06521382f69bc7712418;p=oota-llvm.git Make the pass registration static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38508 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/GVNPRE.cpp b/lib/Transforms/Scalar/GVNPRE.cpp index 96870e3fdf2..e625fc224be 100644 --- a/lib/Transforms/Scalar/GVNPRE.cpp +++ b/lib/Transforms/Scalar/GVNPRE.cpp @@ -680,8 +680,8 @@ namespace { // createGVNPREPass - The public interface to this file... FunctionPass *llvm::createGVNPREPass() { return new GVNPRE(); } -RegisterPass X("gvnpre", - "Global Value Numbering/Partial Redundancy Elimination"); +static RegisterPass X("gvnpre", + "Global Value Numbering/Partial Redundancy Elimination"); STATISTIC(NumInsertedVals, "Number of values inserted");