mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-26 16:05:54 +00:00
Add more debugging info to help tracing the SlotCalculator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9575 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
287b62154e
commit
5d1bdcd6f6
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user