diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2013-08-30 19:32:15 -0700 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2013-08-30 19:32:15 -0700 |
commit | 0dc171568f4981102c284b461b9acb5b4ef44749 (patch) | |
tree | 24c734dd1f6926f3e7de22a8c6cb1fdf39d764e2 /lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h | |
parent | 121830a16cdb2685b1ac49bb88407644c044ef30 (diff) |
PNaCl bitcode: Remove handling of USELIST blocks
These blocks are never generated by the PNaCl bitcode writer. The
code for generating them was removed when BitcodeWriter.cpp was copied
to produce NaClBitcodeWriter.cpp in
5712db994c8a4abb8c2512fb2900650f8335af66. The same wasn't done when
BitcodeReader.cpp was copied to produce NaClBitcodeReader.cpp, so we
do this now.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3590
TEST=PNaCl toolchain trybots
Review URL: https://codereview.chromium.org/23598005
Diffstat (limited to 'lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h')
-rw-r--r-- | lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h index 762088887f..f69fdbdfd4 100644 --- a/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h +++ b/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h @@ -172,7 +172,6 @@ class NaClBitcodeReader : public GVMaterializer { std::vector<Type*> TypeList; NaClBitcodeReaderValueList ValueList; - SmallVector<SmallVector<uint64_t, 64>, 64> UseListRecords; // Holds information about each BasicBlock in the function being read. struct BasicBlockInfo { @@ -366,7 +365,6 @@ private: bool RememberAndSkipFunctionBody(); bool ParseFunctionBody(Function *F); bool GlobalCleanup(); - bool ParseUseLists(); bool InitStream(); bool InitStreamFromBuffer(); bool InitLazyStream(); |