diff options
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SCCP.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/SCCP.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp index 44a553a01bc..ee6a175278e 100644 --- a/llvm/lib/Transforms/Scalar/SCCP.cpp +++ b/llvm/lib/Transforms/Scalar/SCCP.cpp @@ -32,8 +32,7 @@ #include "Support/STLExtras.h" #include <algorithm> #include <set> - -namespace llvm { +using namespace llvm; // InstVal class - This class represents the different lattice values that an // instruction may occupy. It is a simple class with value semantics. @@ -255,7 +254,7 @@ private: // createSCCPPass - This is the public interface to this file... -Pass *createSCCPPass() { +Pass *llvm::createSCCPPass() { return new SCCP(); } @@ -587,4 +586,3 @@ void SCCP::visitGetElementPtrInst(GetElementPtrInst &I) { markConstant(&I, ConstantExpr::getGetElementPtr(Ptr, Operands)); } -} // End llvm namespace |