aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/IPO/ConstantMerge.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms/IPO/ConstantMerge.h')
-rw-r--r--include/llvm/Transforms/IPO/ConstantMerge.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/IPO/ConstantMerge.h b/include/llvm/Transforms/IPO/ConstantMerge.h
index 4ebbfd3..6eed771 100644
--- a/include/llvm/Transforms/IPO/ConstantMerge.h
+++ b/include/llvm/Transforms/IPO/ConstantMerge.h
@@ -19,12 +19,12 @@
#include "llvm/Pass.h"
#include <map>
-class ConstPoolVal;
+class Constant;
class GlobalVariable;
class ConstantMerge : public Pass {
protected:
- map<ConstPoolVal*, GlobalVariable*> Constants;
+ map<Constant*, GlobalVariable*> Constants;
unsigned LastConstantSeen;
public:
inline ConstantMerge() : LastConstantSeen(0) {}