Index: lib/Bitcode/NaCl/Analysis/NaClBitcodeAnalyzer.cpp |
diff --git a/lib/Bitcode/NaCl/Analysis/NaClBitcodeAnalyzer.cpp b/lib/Bitcode/NaCl/Analysis/NaClBitcodeAnalyzer.cpp |
index 3caab42e06d3067c258825071119ab50a6c9da48..f145a363f0754cbb6b26cba89854e655721fccfc 100644 |
--- a/lib/Bitcode/NaCl/Analysis/NaClBitcodeAnalyzer.cpp |
+++ b/lib/Bitcode/NaCl/Analysis/NaClBitcodeAnalyzer.cpp |
@@ -419,7 +419,7 @@ int AnalyzeBitcodeInBuffer(const std::unique_ptr<MemoryBuffer> &Buf, |
if (!Header.IsReadable()) |
Error("Bitcode file is not readable"); |
- NaClBitstreamReader StreamFile(BufPtr, EndBufPtr); |
+ NaClBitstreamReader StreamFile(BufPtr, EndBufPtr, Header); |
NaClBitstreamCursor Stream(StreamFile); |
unsigned NumTopBlocks = 0; |