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

Unified Diff: src/llvm2ice.cpp

Issue 916653004: 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: Const change 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 f83b253c30c1f5b06a39685a83892ed25a9f9447..935cb640aac642d280839d79a4f519d97cbadc58 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -374,7 +374,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) {
@@ -390,8 +390,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