summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-15 02:51:31 +0000
committerChris Lattner <sabre@nondot.org>2004-07-15 02:51:31 +0000
commit60a7dd16c4ea9c6d9ad6671c87c640bc137b5904 (patch)
tree6f9d46d39ddd3fec988e9879d84f8375ac4d6797 /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
parentf2b5817b1bf9d49af9b5c61857bdfcf485147cbf (diff)
downloadbcm5719-llvm-60a7dd16c4ea9c6d9ad6671c87c640bc137b5904.tar.gz
bcm5719-llvm-60a7dd16c4ea9c6d9ad6671c87c640bc137b5904.zip
Fixes for PR341
llvm-svn: 14847
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index a9846705b43..1095ecbeb02 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -146,7 +146,7 @@ GenericValue Interpreter::getConstantExprValue (ConstantExpr *CE,
getOperandValue(CE->getOperand(1), SF),
getOperandValue(CE->getOperand(2), SF));
default:
- std::cerr << "Unhandled ConstantExpr: " << CE << "\n";
+ std::cerr << "Unhandled ConstantExpr: " << *CE << "\n";
abort();
return GenericValue();
}
@@ -236,7 +236,7 @@ static GenericValue executeMulInst(GenericValue Src1, GenericValue Src2,
IMPLEMENT_BINARY_OPERATOR(*, Float);
IMPLEMENT_BINARY_OPERATOR(*, Double);
default:
- std::cout << "Unhandled type for Mul instruction: " << Ty << "\n";
+ std::cout << "Unhandled type for Mul instruction: " << *Ty << "\n";
abort();
}
return Dest;
OpenPOWER on IntegriCloud