summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2003-10-29 03:12:12 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2003-10-29 03:12:12 +0000
commitd478d3d19c39aa51ec73868f6599f09fbc693ab1 (patch)
tree480d29b8c8af3b871ed1775f7c2aec50ddc01b63 /llvm
parent56df0a53afdd181321b50bbe41f6106ade779d6a (diff)
downloadbcm5719-llvm-d478d3d19c39aa51ec73868f6599f09fbc693ab1.tar.gz
bcm5719-llvm-d478d3d19c39aa51ec73868f6599f09fbc693ab1.zip
Add more debugging info to help tracing the SlotCalculator.
llvm-svn: 9575
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/SlotCalculator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/SlotCalculator.cpp b/llvm/lib/VMCore/SlotCalculator.cpp
index 9969550d0b0..c415ced0f73 100644
--- a/llvm/lib/VMCore/SlotCalculator.cpp
+++ b/llvm/lib/VMCore/SlotCalculator.cpp
@@ -40,6 +40,7 @@ SlotCalculator::SlotCalculator(const Module *M, bool IgnoreNamed) {
// Preload table... Make sure that all of the primitive types are in the table
// and that their Primitive ID is equal to their slot #
//
+ SC_DEBUG("Inserting primitive types:\n");
for (unsigned i = 0; i < Type::FirstDerivedTyID; ++i) {
assert(Type::getPrimitiveType((Type::PrimitiveID)i));
insertValue(Type::getPrimitiveType((Type::PrimitiveID)i), true);
@@ -56,6 +57,7 @@ SlotCalculator::SlotCalculator(const Function *M, bool IgnoreNamed) {
// Preload table... Make sure that all of the primitive types are in the table
// and that their Primitive ID is equal to their slot #
//
+ SC_DEBUG("Inserting primitive types:\n");
for (unsigned i = 0; i < Type::FirstDerivedTyID; ++i) {
assert(Type::getPrimitiveType((Type::PrimitiveID)i));
insertValue(Type::getPrimitiveType((Type::PrimitiveID)i), true);
OpenPOWER on IntegriCloud