aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/ConstantReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-18 21:08:15 +0000
committerChris Lattner <sabre@nondot.org>2004-01-18 21:08:15 +0000
commit89e025387eee7f3f03749fd54ab5e6ce36495c0a (patch)
tree19ce009c66e21c680ea481d548da1029acd31a23 /lib/Bytecode/Reader/ConstantReader.cpp
parent614cdcd0023ed382afb6183c38dbb1ee772e05ee (diff)
Add support for reading bytecode files with compactiontables for bytecode files.
This shrinks the bytecode file for 176.gcc by about 200K (10%), and 254.gap by about 167K, a 25% reduction. There is still a lot of room for improvement in the encoding of the compaction table. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r--lib/Bytecode/Reader/ConstantReader.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp
index c8e9feb0be..e8cebcb38f 100644
--- a/lib/Bytecode/Reader/ConstantReader.cpp
+++ b/lib/Bytecode/Reader/ConstantReader.cpp
@@ -1,4 +1,4 @@
-//===- ReadConst.cpp - Code to constants and constant pools ---------------===//
+//===- ConstantReader.cpp - Code to constants and types ====---------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,11 +7,8 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements functionality to deserialize constants and entire
-// constant pools.
-//
-// Note that this library should be as fast as possible, reentrant, and
-// thread-safe!!
+// This file implements functionality to deserialize constants and types from
+// bytecode files.
//
//===----------------------------------------------------------------------===//