diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-10-29 03:12:12 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-10-29 03:12:12 +0000 |
commit | 5d1bdcd6f677442d6303f6e1db88c5fdf6ae382b (patch) | |
tree | 86ed0fbeaf203b79527c3ad8cee7f61e200cd061 /lib/Bytecode/Writer/SlotCalculator.cpp | |
parent | 287b62154ec7d9ff004e9e49b00130e3c63a4713 (diff) |
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
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.cpp')
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp index 9969550d0b..c415ced0f7 100644 --- a/lib/Bytecode/Writer/SlotCalculator.cpp +++ b/lib/Bytecode/Writer/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); |