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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2011-07-14 23:50:31 +00:00
parent e696436a7e
commit 1abf2cb59b
92 changed files with 304 additions and 201 deletions

View File

@ -105,7 +105,7 @@ EnableFastISelOption("fast-isel", cl::Hidden,
LLVMTargetMachine::LLVMTargetMachine(const Target &T, StringRef Triple,
StringRef CPU, StringRef FS)
: TargetMachine(T, Triple, CPU, FS) {
AsmInfo = T.createAsmInfo(Triple);
AsmInfo = T.createMCAsmInfo(Triple);
}
// Set the default code model for the JIT for a generic target.