Switching TargetMachineRegistry to use the new generic Registry.
[oota-llvm.git] / tools / llc / llc.cpp
index 7b55c8092cf125f20808827d1c9eb558de8b9bf0..c976ee261ecd89202d7a9b31f092b454f6010656 100644 (file)
@@ -57,7 +57,8 @@ static cl::opt<bool> Fast("fast",
 static cl::opt<std::string>
 TargetTriple("mtriple", cl::desc("Override target triple for module"));
 
-static cl::opt<const TargetMachineRegistry::Entry*, false, TargetNameParser>
+static cl::opt<const TargetMachineRegistry::entry*, false,
+               TargetMachineRegistry::Parser>
 MArch("march", cl::desc("Architecture to generate code for:"));
 
 static cl::opt<std::string>