summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-16 21:36:59 +0000
committerChris Lattner <sabre@nondot.org>2002-04-16 21:36:59 +0000
commitde9c04cff378d36c7fa791c55fa931acbf89aa1d (patch)
tree265dd41014871c05d5cbb28a34aca01dabeefb0d
parent25bf874ff536210362712f9c807f566837571675 (diff)
downloadbcm5719-llvm-de9c04cff378d36c7fa791c55fa931acbf89aa1d.tar.gz
bcm5719-llvm-de9c04cff378d36c7fa791c55fa931acbf89aa1d.zip
Remove old frivolous uses of getStrValue in a debugging statement
llvm-svn: 2270
-rw-r--r--llvm/lib/VMCore/SlotCalculator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/SlotCalculator.cpp b/llvm/lib/VMCore/SlotCalculator.cpp
index 8bd0b494f47..ce62df9b721 100644
--- a/llvm/lib/VMCore/SlotCalculator.cpp
+++ b/llvm/lib/VMCore/SlotCalculator.cpp
@@ -144,8 +144,8 @@ void SlotCalculator::incorporateFunction(const Function *M) {
SC_DEBUG("Inserting function constants:\n";
for (constant_iterator I = constant_begin(M), E = constant_end(M);
I != E; ++I) {
- cerr << " " << I->getType()->getDescription()
- << " " << I->getStrValue() << endl;
+ cerr << " " << *I->getType()
+ << " " << *I << "\n";
});
// Emit all of the constants that are being used by the instructions in the
OpenPOWER on IntegriCloud