diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-23 07:43:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-23 07:43:38 +0000 |
commit | 93bfb6c7412dbc508e64254fdbeec07e09eca14b (patch) | |
tree | 715e24a903d8c78d485ca56efd2b250cc1d8ecce /llvm/lib/Transforms/LevelRaise.cpp | |
parent | 1e74843e7c33e3224db2400fd4933888bd763ac7 (diff) | |
download | bcm5719-llvm-93bfb6c7412dbc508e64254fdbeec07e09eca14b.tar.gz bcm5719-llvm-93bfb6c7412dbc508e64254fdbeec07e09eca14b.zip |
Remove extraneous #include
finegrainify namespacification
llvm-svn: 10589
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
-rw-r--r-- | llvm/lib/Transforms/LevelRaise.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/LevelRaise.cpp b/llvm/lib/Transforms/LevelRaise.cpp index 3dcb501bbb7..d76beee56f9 100644 --- a/llvm/lib/Transforms/LevelRaise.cpp +++ b/llvm/lib/Transforms/LevelRaise.cpp @@ -20,15 +20,13 @@ #include "llvm/iMemory.h" #include "llvm/Pass.h" #include "llvm/ConstantHandling.h" -#include "llvm/Analysis/Expressions.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "Support/CommandLine.h" #include "Support/Debug.h" #include "Support/Statistic.h" #include "Support/STLExtras.h" #include <algorithm> - -namespace llvm { +using namespace llvm; // StartInst - This enables the -raise-start-inst=foo option to cause the level // raising pass to start at instruction "foo", which is immensely useful for @@ -87,7 +85,7 @@ namespace { } -Pass *createRaisePointerReferencesPass() { +Pass *llvm::createRaisePointerReferencesPass() { return new RPR(); } @@ -614,4 +612,3 @@ bool RPR::runOnFunction(Function &F) { return Changed; } -} // End llvm namespace |