From 832688a6d28c6e1a5a4f869cea00941ccb93281e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Jul 2003 15:30:32 +0000 Subject: [PATCH] Remove redundant const qualifier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7254 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/Interpreter/Execution.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 44c1e48c337..84486c21eec 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -1266,11 +1266,11 @@ void Interpreter::print(const std::string &Name) { Value *PickedVal = ChooseOneOption(Name, LookupMatchingNames(Name)); if (!PickedVal) return; - if (const Function *F = dyn_cast(PickedVal)) { + if (const Function *F = dyn_cast(PickedVal)) { CW << F; // Print the function - } else if (const Type *Ty = dyn_cast(PickedVal)) { + } else if (const Type *Ty = dyn_cast(PickedVal)) { CW << "type %" << Name << " = " << Ty->getDescription() << "\n"; - } else if (const BasicBlock *BB = dyn_cast(PickedVal)) { + } else if (const BasicBlock *BB = dyn_cast(PickedVal)) { CW << BB; // Print the basic block } else { // Otherwise there should be an annotation for the slot# print(PickedVal->getType(),