aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/Analyzer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-04 00:19:23 +0000
committerChris Lattner <sabre@nondot.org>2004-08-04 00:19:23 +0000
commit2c6c14d1a5ef519448b6ec9e03545b90bf712483 (patch)
treec8848b00c9d4f837dfed2b0e15291c50abc73324 /lib/Bytecode/Reader/Analyzer.cpp
parent064e9a9ef8e995ab986e0500e603612deac5bd2f (diff)
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
Diffstat (limited to 'lib/Bytecode/Reader/Analyzer.cpp')
-rw-r--r--lib/Bytecode/Reader/Analyzer.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/Bytecode/Reader/Analyzer.cpp b/lib/Bytecode/Reader/Analyzer.cpp
index 8ed3301478..f6739ae3c6 100644
--- a/lib/Bytecode/Reader/Analyzer.cpp
+++ b/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() {