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

Unified Diff: src/llvm2ice.cpp

Issue 395193005: Start processing function blocks in Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in patch set 13. Created 6 years, 4 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 | « src/PNaClTranslator.cpp ('k') | tests_lit/reader_tests/binops.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/llvm2ice.cpp
diff --git a/src/llvm2ice.cpp b/src/llvm2ice.cpp
index b1d2d6fbdaaa7b608f3e795c4c68d07b91fb5643..a4a96b9808309c73e6ae1cd63d915fd9067e53cd 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -143,7 +143,7 @@ int main(int argc, char **argv) {
Flags);
if (BuildOnRead) {
- Ice::PNaClTranslator Translator(&Ctx);
+ Ice::PNaClTranslator Translator(&Ctx, Flags);
Translator.translate(IRFilename);
return Translator.getErrorStatus();
} else {
@@ -163,8 +163,8 @@ int main(int argc, char **argv) {
return 1;
}
- Ice::Converter Converter(&Ctx);
- Converter.convertToIce(Mod);
+ Ice::Converter Converter(Mod, &Ctx, Flags);
+ Converter.convertToIce();
return Converter.getErrorStatus();
}
}
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | tests_lit/reader_tests/binops.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698