aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/Analyzer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-07 06:53:02 +0000
committerChris Lattner <sabre@nondot.org>2007-02-07 06:53:02 +0000
commit7b6040b41783a4c6abafed9cef84699ef7abc1a3 (patch)
treefdbfc1361bd5a7ab0fdf6801d57245b980034d76 /lib/Bytecode/Reader/Analyzer.cpp
parent92f5b6a78407c84e5eb18907879b16de0f33f980 (diff)
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
Diffstat (limited to 'lib/Bytecode/Reader/Analyzer.cpp')
-rw-r--r--lib/Bytecode/Reader/Analyzer.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/Bytecode/Reader/Analyzer.cpp b/lib/Bytecode/Reader/Analyzer.cpp
index 94224e36ab..02e1c66ae6 100644
--- a/lib/Bytecode/Reader/Analyzer.cpp
+++ b/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);
- }
- }
};