Chromium Code Reviews| Index: lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp |
| diff --git a/lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp b/lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp |
| index 677539071b7c066b9b7ab48ba1df2bf5bb487f9b..a7c5025fa2cb3be73df6f234d089da102ea925e7 100644 |
| --- a/lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp |
| +++ b/lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp |
| @@ -71,7 +71,7 @@ bool NaClBitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) { |
| } |
| // Get the codesize of this block. |
| - CurCodeSize = ReadVBR(naclbitc::CodeLenWidth); |
| + CurCodeSize = ReadIntVBR(naclbitc::CodeLenWidth); |
|
Karl
2013/05/17 20:52:18
Changed this to:
CurCodeSize.IsFixed = ReadBool
|
| SkipToFourByteBoundary(); |
| unsigned NumWords = Read(naclbitc::BlockSizeWidth); |
| if (NumWordsP) *NumWordsP = NumWords; |