mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-14 15:25:25 +00:00
remove some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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) { }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user