summaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-04 18:12:00 +0000
committerChris Lattner <sabre@nondot.org>2010-09-04 18:12:00 +0000
commit17aa68055beed6faa48ca3a995c5b6fdf5092fd4 (patch)
tree7da92972b344ad9066b17b8bd89e3701b07ea3f8 /lib/Transforms
parent89f87e8f5a4021756b2cfe55c484551e6a138b88 (diff)
downloadexternal_llvm-17aa68055beed6faa48ca3a995c5b6fdf5092fd4.zip
external_llvm-17aa68055beed6faa48ca3a995c5b6fdf5092fd4.tar.gz
external_llvm-17aa68055beed6faa48ca3a995c5b6fdf5092fd4.tar.bz2
zap dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/GVN.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index c62ce1f..41ff187 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/lib/Transforms/Scalar/GVN.cpp
@@ -140,9 +140,9 @@ namespace {
}
}
- bool operator!=(const Expression &other) const {
+ /*bool operator!=(const Expression &other) const {
return !(*this == other);
- }
+ }*/
};
class ValueTable {
@@ -176,7 +176,6 @@ namespace {
void add(Value *V, uint32_t num);
void clear();
void erase(Value *v);
- unsigned size();
void setAliasAnalysis(AliasAnalysis* A) { AA = A; }
AliasAnalysis *getAliasAnalysis() const { return AA; }
void setMemDep(MemoryDependenceAnalysis* M) { MD = M; }