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 { |