[llvm-commits] CVS: llvm/lib/VMCore/SlotCalculator.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Jan 11 17:31:01 PST 2004


Changes in directory llvm/lib/VMCore:

SlotCalculator.cpp updated: 1.41 -> 1.42

---
Log message:

Urg, remove testing code.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/VMCore/SlotCalculator.cpp
diff -u llvm/lib/VMCore/SlotCalculator.cpp:1.41 llvm/lib/VMCore/SlotCalculator.cpp:1.42
--- llvm/lib/VMCore/SlotCalculator.cpp:1.41	Sun Jan 11 17:29:26 2004
+++ llvm/lib/VMCore/SlotCalculator.cpp	Sun Jan 11 17:30:03 2004
@@ -132,7 +132,7 @@
   // all non-value types are pushed to the end of the type table, giving nice
   // low numbers to the types that can be used by instructions, thus reducing
   // the amount of explodage we suffer.
-  if (!IgnoreNamedNodes && Table[Type::TypeTyID].size() >= 0/*64*/) {
+  if (!IgnoreNamedNodes && Table[Type::TypeTyID].size() >= 64) {
     // Scan through the type table moving value types to the start of the table.
     TypePlane *Types = &Table[Type::TypeTyID];
     unsigned FirstNonValueTypeID = 0;





More information about the llvm-commits mailing list