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
diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp
index c8e9feb..e8cebcb 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.
//
//===----------------------------------------------------------------------===//