diff options
Diffstat (limited to 'include/llvm/SymbolTable.h')
-rw-r--r-- | include/llvm/SymbolTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/SymbolTable.h b/include/llvm/SymbolTable.h index ee53f6d..2436311 100644 --- a/include/llvm/SymbolTable.h +++ b/include/llvm/SymbolTable.h @@ -21,7 +21,7 @@ #ifndef NDEBUG // Only for assertions #include "llvm/Type.h" -#include "llvm/ConstPoolVals.h" +#include "llvm/ConstantVals.h" #endif class Type; @@ -64,7 +64,7 @@ public: // (constant/type)s. // inline void insert(const string &Name, Value *V) { - assert((isa<Type>(V) || isa<ConstPoolVal>(V)) && + assert((isa<Type>(V) || isa<Constant>(V)) && "Can only insert types and constants here!"); insertEntry(Name, V->getType(), V); } |