diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-18 02:41:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-18 02:41:56 +0000 |
commit | b45de953459f7a2e13e44446ca73334e739ffbed (patch) | |
tree | 54eb50889dc9f43944260084855a76f22a970f6e /llvm/lib/Transforms/Utils/LowerSwitch.cpp | |
parent | 3e3e63efe1d9fb0914c6708e97ae193382283a00 (diff) | |
download | bcm5719-llvm-b45de953459f7a2e13e44446ca73334e739ffbed.tar.gz bcm5719-llvm-b45de953459f7a2e13e44446ca73334e739ffbed.zip |
remove some dead code.
llvm-svn: 111344
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LowerSwitch.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp index 0caeff90e82..5421402b8e2 100644 --- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp +++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp @@ -29,8 +29,7 @@ using namespace llvm; namespace { /// LowerSwitch Pass - Replace all SwitchInst instructions with chained branch - /// instructions. Note that this cannot be a BasicBlock pass because it - /// modifies the CFG! + /// instructions. class LowerSwitch : public FunctionPass { public: static char ID; // Pass identification, replacement for typeid @@ -50,8 +49,7 @@ namespace { Constant* High; BasicBlock* BB; - CaseRange() : Low(0), High(0), BB(0) { } - CaseRange(Constant* low, Constant* high, BasicBlock* bb) : + CaseRange(Constant *low = 0, Constant *high = 0, BasicBlock *bb = 0) : Low(low), High(high), BB(bb) { } }; |