summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/LowerSwitch.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 22:17:40 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 22:17:40 +0000
commitd216e8ba60494caacf919cbf5fef110d48f0d162 (patch)
treea6e2c243cbac1f503451d51a705d0aa4d0ea012a /lib/Transforms/Utils/LowerSwitch.cpp
parent86453c52ba02e743d29c08456e51006500041456 (diff)
downloadllvm-d216e8ba60494caacf919cbf5fef110d48f0d162.tar.gz
llvm-d216e8ba60494caacf919cbf5fef110d48f0d162.tar.bz2
llvm-d216e8ba60494caacf919cbf5fef110d48f0d162.tar.xz
switch more statistics over to STATISTIC, eliminating static ctors. Also,
delete some dead ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r--lib/Transforms/Utils/LowerSwitch.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp
index f0ae3852d8..69df51c792 100644
--- a/lib/Transforms/Utils/LowerSwitch.cpp
+++ b/lib/Transforms/Utils/LowerSwitch.cpp
@@ -21,13 +21,10 @@
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Compiler.h"
-#include "llvm/ADT/Statistic.h"
#include <algorithm>
using namespace llvm;
namespace {
- Statistic NumLowered("lowerswitch", "Number of SwitchInst's replaced");
-
/// LowerSwitch Pass - Replace all SwitchInst instructions with chained branch
/// instructions. Note that this cannot be a BasicBlock pass because it
/// modifies the CFG!