remove the handleVBR32/handleVBR64 callbacks. They are very fine-grained.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-02-07 06:53:02 +00:00
parent 92f5b6a784
commit 7b6040b417
3 changed files with 0 additions and 35 deletions

View File

@ -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);
}
}
};