[llvm-commits] CVS: llvm/lib/VMCore/SlotCalculator.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Oct 28 21:13:01 PST 2003
Changes in directory llvm/lib/VMCore:
SlotCalculator.cpp updated: 1.34 -> 1.35
---
Log message:
Add more debugging info to help tracing the SlotCalculator.
---
Diffs of the changes: (+2 -0)
Index: llvm/lib/VMCore/SlotCalculator.cpp
diff -u llvm/lib/VMCore/SlotCalculator.cpp:1.34 llvm/lib/VMCore/SlotCalculator.cpp:1.35
--- llvm/lib/VMCore/SlotCalculator.cpp:1.34 Tue Oct 21 12:40:54 2003
+++ llvm/lib/VMCore/SlotCalculator.cpp Tue Oct 28 21:12:12 2003
@@ -40,6 +40,7 @@
// 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 @@
// 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);
More information about the llvm-commits
mailing list