diff options
Diffstat (limited to 'llvm/lib/VMCore/SlotCalculator.cpp')
| -rw-r--r-- | llvm/lib/VMCore/SlotCalculator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/SlotCalculator.cpp b/llvm/lib/VMCore/SlotCalculator.cpp index c9560c1d8c2..005c5c1658d 100644 --- a/llvm/lib/VMCore/SlotCalculator.cpp +++ b/llvm/lib/VMCore/SlotCalculator.cpp @@ -262,7 +262,7 @@ int SlotCalculator::insertVal(const Value *D, bool dontIgnore) { } // If it's a type, make sure that all subtypes of the type are included... - if (const Type *TheTy = dyn_cast<const Type>(D)) { + if (const Type *TheTy = dyn_cast<Type>(D)) { // Insert the current type before any subtypes. This is important because // recursive types elements are inserted in a bottom up order. Changing |

