aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-15 02:51:32 +0000
committerChris Lattner <sabre@nondot.org>2004-07-15 02:51:32 +0000
commited6c073097ca83fe55b6eb9d1014e41f58c5ee34 (patch)
tree1d3005bf6d29cb04a353b8b7773e84c20357e2fd /lib/ExecutionEngine/Interpreter/Execution.cpp
parent0a8e8e1a4ea46fa5da067369ac43d8a459d0cac0 (diff)
Fixes for PR341
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 1095ecbeb0..705fc16db8 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -421,7 +421,7 @@ static GenericValue executeSetLEInst(GenericValue Src1, GenericValue Src2,
IMPLEMENT_SETCC(<=, Double);
IMPLEMENT_POINTERSETCC(<=);
default:
- std::cout << "Unhandled type for SetLE instruction: " << Ty << "\n";
+ std::cout << "Unhandled type for SetLE instruction: " << *Ty << "\n";
abort();
}
return Dest;
@@ -941,7 +941,7 @@ void Interpreter::visitShr(ShiftInst &I) {
IMPLEMENT_CAST(DESTTY, DESTCTY, Double)
#define IMPLEMENT_CAST_CASE_END() \
- default: std::cout << "Unhandled cast: " << SrcTy << " to " << Ty << "\n"; \
+ default: std::cout << "Unhandled cast: " << *SrcTy << " to " << *Ty << "\n"; \
abort(); \
} \
break