diff options
Diffstat (limited to 'lib/Transforms/IPO/LowerSetJmp.cpp')
-rw-r--r-- | lib/Transforms/IPO/LowerSetJmp.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Transforms/IPO/LowerSetJmp.cpp b/lib/Transforms/IPO/LowerSetJmp.cpp index f18fb929b3..a9c87f6a89 100644 --- a/lib/Transforms/IPO/LowerSetJmp.cpp +++ b/lib/Transforms/IPO/LowerSetJmp.cpp @@ -33,6 +33,7 @@ // pass invokable via the "opt" command at will. //===----------------------------------------------------------------------===// +#include "llvm/Transforms/IPO.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" #include "llvm/Instructions.h" @@ -46,8 +47,7 @@ #include "Support/Statistic.h" #include "Support/StringExtras.h" #include "Support/VectorExtras.h" - -namespace llvm { +using namespace llvm; namespace { Statistic<> LongJmpsTransformed("lowersetjmp", @@ -533,9 +533,8 @@ void LowerSetJmp::visitUnwindInst(UnwindInst& UI) "", &UI); } -Pass* createLowerSetJmpPass() +Pass* llvm::createLowerSetJmpPass() { return new LowerSetJmp(); } -} // End llvm namespace |