diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-16 21:36:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-16 21:36:59 +0000 |
commit | de9c04cff378d36c7fa791c55fa931acbf89aa1d (patch) | |
tree | 265dd41014871c05d5cbb28a34aca01dabeefb0d | |
parent | 25bf874ff536210362712f9c807f566837571675 (diff) | |
download | bcm5719-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.cpp | 4 |
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 |