[llvm-commits] CVS: llvm/include/llvm/SlotCalculator.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 19 18:58:01 PST 2004
Changes in directory llvm/include/llvm:
SlotCalculator.h updated: 1.16 -> 1.17
---
Log message:
add a method proto, make a method not inline
---
Diffs of the changes: (+2 -7)
Index: llvm/include/llvm/SlotCalculator.h
diff -u llvm/include/llvm/SlotCalculator.h:1.16 llvm/include/llvm/SlotCalculator.h:1.17
--- llvm/include/llvm/SlotCalculator.h:1.16 Sun Jan 18 15:03:49 2004
+++ llvm/include/llvm/SlotCalculator.h Mon Jan 19 18:54:47 2004
@@ -92,13 +92,7 @@
return Plane < ModuleLevel.size() ? ModuleLevel[Plane] : 0;
}
- inline const TypePlane &getPlane(unsigned Plane) const {
- if (CompactionTable.empty() || CompactionTable.size() <= Plane ||
- CompactionTable[Plane].empty())
- return Table[Plane];
- else
- return CompactionTable[Plane];
- }
+ TypePlane &getPlane(unsigned Plane);
/// incorporateFunction/purgeFunction - If you'd like to deal with a function,
/// use these two methods to get its data into the SlotCalculator!
@@ -146,6 +140,7 @@
void buildCompactionTable(const Function *F);
unsigned getOrCreateCompactionTableSlot(const Value *V);
+ void pruneCompactionTable();
};
} // End llvm namespace
More information about the llvm-commits
mailing list