From f759c4e2a7ccc84c4ed85b7db27cff1bcc2aa1f2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 Apr 2002 21:36:59 +0000 Subject: [PATCH] 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 --- lib/Bytecode/Writer/SlotCalculator.cpp | 4 ++-- lib/VMCore/SlotCalculator.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp index 8bd0b494f47..ce62df9b721 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 diff --git a/lib/VMCore/SlotCalculator.cpp b/lib/VMCore/SlotCalculator.cpp index 8bd0b494f47..ce62df9b721 100644 --- a/lib/VMCore/SlotCalculator.cpp +++ b/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