aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/InstrForest.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/InstrForest.h')
-rw-r--r--include/llvm/CodeGen/InstrForest.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/InstrForest.h b/include/llvm/CodeGen/InstrForest.h
index e7bd3ad145..aa101f934d 100644
--- a/include/llvm/CodeGen/InstrForest.h
+++ b/include/llvm/CodeGen/InstrForest.h
@@ -30,7 +30,7 @@
#include <hash_map>
#include <hash_set>
-class ConstPoolVal;
+class Constant;
class BasicBlock;
class Method;
class InstrTreeNode;
@@ -205,11 +205,11 @@ protected:
class ConstantNode : public InstrTreeNode {
public:
- ConstantNode(ConstPoolVal *constVal)
+ ConstantNode(Constant *constVal)
: InstrTreeNode(NTConstNode, (Value*)constVal) {
opLabel = ConstantNodeOp;
}
- ConstPoolVal *getConstVal() const { return (ConstPoolVal*) val;}
+ Constant *getConstVal() const { return (Constant*) val;}
protected:
virtual void dumpNode(int indent) const;
};