diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-23 15:30:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-23 15:30:32 +0000 |
commit | 625eef3e41be5a8945367f8c8677f6afc863dfc0 (patch) | |
tree | 95035fe2511f54a5ec20f1baeaac812a9b08b62e /llvm/lib/ExecutionEngine/Interpreter | |
parent | f26a8ee58017b22c41483b45679385eb0d31f000 (diff) | |
download | bcm5719-llvm-625eef3e41be5a8945367f8c8677f6afc863dfc0.tar.gz bcm5719-llvm-625eef3e41be5a8945367f8c8677f6afc863dfc0.zip |
Remove redundant const qualifier
llvm-svn: 7254
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index 44c1e48c337..84486c21eec 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/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<const Function>(PickedVal)) { + if (const Function *F = dyn_cast<Function>(PickedVal)) { CW << F; // Print the function - } else if (const Type *Ty = dyn_cast<const Type>(PickedVal)) { + } else if (const Type *Ty = dyn_cast<Type>(PickedVal)) { CW << "type %" << Name << " = " << Ty->getDescription() << "\n"; - } else if (const BasicBlock *BB = dyn_cast<const BasicBlock>(PickedVal)) { + } else if (const BasicBlock *BB = dyn_cast<BasicBlock>(PickedVal)) { CW << BB; // Print the basic block } else { // Otherwise there should be an annotation for the slot# print(PickedVal->getType(), |