No block info block should need to define local abbreviations, so we can
always use a code width of 2.
Also change all block info block writers to use EnterBlockInfoBlock.
Paths
| Differential D26168
Bitcode: Simplify BitstreamWriter::EnterBlockInfoBlock() interface. ClosedPublic Authored by pcc on Oct 31 2016, 3:00 PM.
Details Summary No block info block should need to define local abbreviations, so we can Also change all block info block writers to use EnterBlockInfoBlock.
Diff Detail
Event TimelineComment Actions I am about to make EnterBlockInfoBlock more complicated in order to deal with multiple block info blocks, so I need all block info block writers to go through this function. The code width thing is just something I noticed in passing. mehdi_amini edited edge metadata. Comment ActionsOK, so no particular motivation other than cleanup IIUC. LGTM, thks. This revision is now accepted and ready to land.Oct 31 2016, 6:19 PM Closed by commit rL285660: Bitcode: Simplify BitstreamWriter::EnterBlockInfoBlock() interface. (authored by pcc). · Explain WhyOct 31 2016, 6:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 76486 clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/lib/Serialization/GlobalModuleIndex.cpp
llvm/include/llvm/Bitcode/BitstreamWriter.h
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
|