Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes.

llvm-svn: 135219
This commit is contained in:
Evan Cheng
2011-07-14 23:50:31 +00:00
parent 82432f7edf
commit 1705ab00ab
92 changed files with 304 additions and 201 deletions

View File

@@ -132,7 +132,7 @@ int Disassembler::disassemble(const Target &T,
MemoryBuffer &Buffer,
raw_ostream &Out) {
// Set up disassembler.
OwningPtr<const MCAsmInfo> AsmInfo(T.createAsmInfo(Triple));
OwningPtr<const MCAsmInfo> AsmInfo(T.createMCAsmInfo(Triple));
if (!AsmInfo) {
errs() << "error: no assembly info for target " << Triple << "\n";