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

Unified Diff: tools/pnacl-benchmark/pnacl-benchmark.cpp

Issue 940243003: PNaCl localmod mods in LLVM to 223109 (local files only) (Closed)
Patch Set: xx Created 5 years, 10 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
Index: tools/pnacl-benchmark/pnacl-benchmark.cpp
diff --git a/tools/pnacl-benchmark/pnacl-benchmark.cpp b/tools/pnacl-benchmark/pnacl-benchmark.cpp
index f5721f1843df4a8bf1def52435a1226d1417c28d..3bd5f256b00725eaa18ffeb30ec09f00ce5728f5 100644
--- a/tools/pnacl-benchmark/pnacl-benchmark.cpp
+++ b/tools/pnacl-benchmark/pnacl-benchmark.cpp
@@ -209,8 +209,9 @@ void BenchmarkIRParsing() {
TimingOperationBlock T("LLVM IR parsing", BufSize);
SMDiagnostic Err;
raw_ostream *Verbose = VerboseErrors ? &errs() : nullptr;
- Module *M = NaClParseIRFile(InputFilename, PNaClFormat,
- Err, Verbose, getGlobalContext());
+ std::unique_ptr<Module> M = NaClParseIRFile(
+ InputFilename, PNaClFormat,
+ Err, Verbose, getGlobalContext());
if (!M) {
report_fatal_error("Unable to NaClParseIRFile");

Powered by Google App Engine
This is Rietveld 408576698