summaryrefslogtreecommitdiff
path: root/lib/Bytecode
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
commitf759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2 (patch)
tree4fdd30ab79afda6ddde4115c13405fac32827a46 /lib/Bytecode
parenta3b63668d4684adcceee13284133c0088061943f (diff)
downloadllvm-f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2.tar.gz
llvm-f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2.tar.bz2
llvm-f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2.tar.xz
Remove old frivolous uses of getStrValue in a debugging statement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp
index 8bd0b494f4..ce62df9b72 100644
--- a/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/lib/Bytecode/Writer/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