From bba09b3f7fccc9f4d1d0184d5922dffecd76e023 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Aug 2004 00:19:23 +0000 Subject: Make getGlobalTableValue not use getTypeSlot, this speeds up the bc reader by 5% on eon llvm-svn: 15452 --- llvm/lib/Bytecode/Reader/Analyzer.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'llvm/lib/Bytecode/Reader/Analyzer.cpp') diff --git a/llvm/lib/Bytecode/Reader/Analyzer.cpp b/llvm/lib/Bytecode/Reader/Analyzer.cpp index 8ed33014784..f6739ae3c6f 100644 --- a/llvm/lib/Bytecode/Reader/Analyzer.cpp +++ b/llvm/lib/Bytecode/Reader/Analyzer.cpp @@ -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() { -- cgit v1.2.3