Fix last bits of MC layer issues. llvm-mc doesn't need to initialize TargetMachine's anymore.

llvm-svn: 135963
This commit is contained in:
Evan Cheng
2011-07-25 20:53:02 +00:00
parent c7ca5218b6
commit f60768a14e
8 changed files with 27 additions and 63 deletions

View File

@@ -308,8 +308,6 @@ int main(int argc, char **argv) {
// Initialize targets and assembly printers/parsers.
llvm::InitializeAllTargetInfos();
// FIXME: We shouldn't need to initialize the Target(Machine)s.
llvm::InitializeAllTargets();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmPrinters();
llvm::InitializeAllAsmParsers();