aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-13 22:04:46 +0000
committerChris Lattner <sabre@nondot.org>2002-05-13 22:04:46 +0000
commit2172db04e7feeb7e0d841e0350824f1991db4625 (patch)
tree93828d1328a8a01d8e887dae71dec08b36ec2182 /lib/Transforms
parentef704a23b4c3cadf11b093fa628cafa38fa05ad5 (diff)
downloadexternal_llvm-2172db04e7feeb7e0d841e0350824f1991db4625.zip
external_llvm-2172db04e7feeb7e0d841e0350824f1991db4625.tar.gz
external_llvm-2172db04e7feeb7e0d841e0350824f1991db4625.tar.bz2
Trivial cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/ConstantProp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ConstantProp.cpp b/lib/Transforms/Scalar/ConstantProp.cpp
index 013ddc0..720266c 100644
--- a/lib/Transforms/Scalar/ConstantProp.cpp
+++ b/lib/Transforms/Scalar/ConstantProp.cpp
@@ -17,16 +17,16 @@
#include "llvm/Instruction.h"
#include "llvm/Pass.h"
#include "llvm/Support/InstIterator.h"
+#include "Support/StatisticReporter.h"
#include <set>
-#include "Support/StatisticReporter.h"
static Statistic<> NumInstKilled("constprop - Number of instructions killed");
namespace {
struct ConstantPropogation : public FunctionPass {
const char *getPassName() const { return "Simple Constant Propogation"; }
- inline bool runOnFunction(Function *F);
+ bool runOnFunction(Function *F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.preservesCFG();