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 | f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2 (patch) | |
tree | 4fdd30ab79afda6ddde4115c13405fac32827a46 /lib/Bytecode | |
parent | a3b63668d4684adcceee13284133c0088061943f (diff) | |
download | external_llvm-f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2.zip external_llvm-f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2.tar.gz external_llvm-f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2.tar.bz2 |
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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp index 8bd0b49..ce62df9 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 |