aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-09-05 05:04:32 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-09-05 05:04:32 +0000
commit932539a941dff605bdced24c56ea10a01fc113e8 (patch)
tree95e6dfb3c649a469cd14c5c97438cf469e733f38 /lib/ExecutionEngine/Interpreter/Execution.cpp
parent413ab6655bfe0b1e58d0da6c3f4c3a9833e8a952 (diff)
Remove support for printing values from a module by name, only used
w/ interactive keyboard entry of names. With that, Support.cpp is history. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 6881ff9ed7..800a62cc8d 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -1086,20 +1086,3 @@ void Interpreter::print(const Type *Ty, GenericValue V) {
CW << Ty << " ";
printValue(Ty, V);
}
-
-void Interpreter::print(const std::string &Name) {
- Value *PickedVal = ChooseOneOption(Name, LookupMatchingNames(Name));
- if (!PickedVal) return;
-
- if (const Function *F = dyn_cast<Function>(PickedVal)) {
- CW << F; // Print the function
- } else if (const Type *Ty = dyn_cast<Type>(PickedVal)) {
- CW << "type %" << Name << " = " << Ty->getDescription() << "\n";
- } 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(),
- getOperandValue(PickedVal, ECStack[CurFrame]));
- std::cout << "\n";
- }
-}