diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-04 00:19:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-04 00:19:23 +0000 |
commit | bba09b3f7fccc9f4d1d0184d5922dffecd76e023 (patch) | |
tree | e395ab21cf3bffc9edb75a2e9f3efad6a25e291c /llvm/lib/Bytecode/Reader/Analyzer.cpp | |
parent | 6494081cce584eecaa5a44e2a297a49b70b195ee (diff) | |
download | bcm5719-llvm-bba09b3f7fccc9f4d1d0184d5922dffecd76e023.tar.gz bcm5719-llvm-bba09b3f7fccc9f4d1d0184d5922dffecd76e023.zip |
Make getGlobalTableValue not use getTypeSlot, this speeds up the bc reader
by 5% on eon
llvm-svn: 15452
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Analyzer.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Reader/Analyzer.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
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() { |