Make getGlobalTableValue not use getTypeSlot, this speeds up the bc reader

by 5% on eon


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-08-04 00:19:23 +00:00
parent 064e9a9ef8
commit 2c6c14d1a5
3 changed files with 34 additions and 32 deletions

View File

@@ -218,14 +218,10 @@ public:
<< " is " << Ty->getDescription() << "\n";
}
virtual void handleCompactionTableValue(
unsigned i,
unsigned TypSlot,
unsigned ValSlot,
const Type* Ty ) {
virtual void handleCompactionTableValue(unsigned i, unsigned TypSlot,
unsigned ValSlot) {
dump << " Value: " << i << " TypSlot: " << TypSlot
<< " ValSlot:" << ValSlot << " is " << Ty->getDescription()
<< "\n";
<< " ValSlot:" << ValSlot << "\n";
}
virtual void handleCompactionTableEnd() {