summaryrefslogtreecommitdiffstats
path: root/include/llvm/Assembly/CachedWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly/CachedWriter.h')
-rw-r--r--include/llvm/Assembly/CachedWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Assembly/CachedWriter.h b/include/llvm/Assembly/CachedWriter.h
index af1b246..b5171b4 100644
--- a/include/llvm/Assembly/CachedWriter.h
+++ b/include/llvm/Assembly/CachedWriter.h
@@ -53,7 +53,7 @@ public:
inline CachedWriter &operator<<(const Instruction *X) {
return *this << (const Value*)X;
}
- inline CachedWriter &operator<<(const ConstPoolVal *X) {
+ inline CachedWriter &operator<<(const Constant *X) {
return *this << (const Value*)X;
}
inline CachedWriter &operator<<(const Type *X) {