mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
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:
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user