diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-07 06:53:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-07 06:53:02 +0000 |
commit | bbe7d71039290442e14f22b575f8f5566f137745 (patch) | |
tree | 0669f8860128232d9cf2a0fa2650768ed6b5cc75 /llvm/lib/Bytecode/Reader/Analyzer.cpp | |
parent | 86fc08145bcbfe400127595a35c57ec32e3ede61 (diff) | |
download | bcm5719-llvm-bbe7d71039290442e14f22b575f8f5566f137745.tar.gz bcm5719-llvm-bbe7d71039290442e14f22b575f8f5566f137745.zip |
remove the handleVBR32/handleVBR64 callbacks. They are very fine-grained.
llvm-svn: 33994
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Analyzer.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Reader/Analyzer.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/lib/Bytecode/Reader/Analyzer.cpp b/llvm/lib/Bytecode/Reader/Analyzer.cpp index 94224e36ab8..02e1c66ae6c 100644 --- a/llvm/lib/Bytecode/Reader/Analyzer.cpp +++ b/llvm/lib/Bytecode/Reader/Analyzer.cpp @@ -26,7 +26,6 @@ #include <iomanip> #include <sstream> #include <ios> - using namespace llvm; namespace { @@ -542,27 +541,6 @@ public: bca.BlockSizes[llvm::BytecodeFormat::Reserved_DoNotUse] += 4; } - virtual void handleVBR32(unsigned Size ) { - bca.vbrCount32++; - bca.vbrCompBytes += Size; - bca.vbrExpdBytes += sizeof(uint32_t); - if (currFunc) { - currFunc->vbrCount32++; - currFunc->vbrCompBytes += Size; - currFunc->vbrExpdBytes += sizeof(uint32_t); - } - } - - virtual void handleVBR64(unsigned Size ) { - bca.vbrCount64++; - bca.vbrCompBytes += Size; - bca.vbrExpdBytes += sizeof(uint64_t); - if ( currFunc ) { - currFunc->vbrCount64++; - currFunc->vbrCompBytes += Size; - currFunc->vbrExpdBytes += sizeof(uint64_t); - } - } }; |