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

Unified Diff: src/llvm2ice.cpp

Issue 876083007: Subzero: Emit functions and global initializers in a separate thread. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: More code review changes 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
« no previous file with comments | « src/assembler.h ('k') | tests_lit/llvm2ice_tests/arith-opt.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 2f3176500cfd64dd2b98c24e86e4ad00a22ac363..02dedd5f5caf0dff9e4563505eaea232e04267d1 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -373,7 +373,7 @@ int main(int argc, char **argv) {
std::unique_ptr<Ice::Translator> Translator;
if (BuildOnRead) {
std::unique_ptr<Ice::PNaClTranslator> PTranslator(
- new Ice::PNaClTranslator(&Ctx, Flags));
+ new Ice::PNaClTranslator(&Ctx));
PTranslator->translate(IRFilename);
Translator.reset(PTranslator.release());
} else if (ALLOW_LLVM_IR) {
@@ -389,8 +389,7 @@ int main(int argc, char **argv) {
return GetReturnValue(Ice::EC_Bitcode);
}
- std::unique_ptr<Ice::Converter> Converter(
- new Ice::Converter(Mod, &Ctx, Flags));
+ std::unique_ptr<Ice::Converter> Converter(new Ice::Converter(Mod, &Ctx));
Converter->convertToIce();
Translator.reset(Converter.release());
} else {
« no previous file with comments | « src/assembler.h ('k') | tests_lit/llvm2ice_tests/arith-opt.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698