Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: src/PNaClTranslator.cpp

Issue 1130313002: Update subzero bitcode parser to use new API for bitstream reading. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/PNaClTranslator.cpp
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp
index 42a207b510bafb456cdf9b3f1351aa22afc68a74..38c5bf71c14d43f8a14691e80a7b8601ba569ff4 100644
--- a/src/PNaClTranslator.cpp
+++ b/src/PNaClTranslator.cpp
@@ -2995,7 +2995,7 @@ void PNaClTranslator::translate(const std::string &IRFilename,
}
// Create a bitstream reader to read the bitcode file.
- NaClBitstreamReader InputStreamFile(MemObj.release(), Header.getHeaderSize());
+ NaClBitstreamReader InputStreamFile(MemObj.release(), Header);
NaClBitstreamCursor InputStream(InputStreamFile);
TopLevelParser Parser(*this, InputStream, ErrorStatus);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698