diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-04 14:58:56 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-04 14:58:56 +0000 | 
| commit | 36bf506ad3c99a309ca8bd73bd03563d8d068ac0 (patch) | |
| tree | b4dc751bcee540346911aa4115729eff2f991657 /lib/Transforms/Utils/LowerSwitch.cpp | |
| parent | f9666f9b3a3d26810deae8cd54feb6e47ecee61a (diff) | |
Notes
Diffstat (limited to 'lib/Transforms/Utils/LowerSwitch.cpp')
| -rw-r--r-- | lib/Transforms/Utils/LowerSwitch.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 764f0980cd2d0..8c18b591a4900 100644 --- a/lib/Transforms/Utils/LowerSwitch.cpp +++ b/lib/Transforms/Utils/LowerSwitch.cpp @@ -21,8 +21,8 @@  #include "llvm/LLVMContext.h"  #include "llvm/Pass.h"  #include "llvm/ADT/STLExtras.h" -#include "llvm/Support/Debug.h"  #include "llvm/Support/Compiler.h" +#include "llvm/Support/Debug.h"  #include "llvm/Support/raw_ostream.h"  #include <algorithm>  using namespace llvm; @@ -31,7 +31,7 @@ namespace {    /// LowerSwitch Pass - Replace all SwitchInst instructions with chained branch    /// instructions.  Note that this cannot be a BasicBlock pass because it    /// modifies the CFG! -  class VISIBILITY_HIDDEN LowerSwitch : public FunctionPass { +  class LowerSwitch : public FunctionPass {    public:      static char ID; // Pass identification, replacement for typeid      LowerSwitch() : FunctionPass(&ID) {}  @@ -43,7 +43,6 @@ namespace {        AU.addPreserved<UnifyFunctionExitNodes>();        AU.addPreservedID(PromoteMemoryToRegisterID);        AU.addPreservedID(LowerInvokePassID); -      AU.addPreservedID(LowerAllocationsID);      }      struct CaseRange {  | 
