make the mangler take an MCContext instead of an MAI.

No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-03-12 18:44:54 +00:00
parent fdab14b105
commit 5ef31a039d
9 changed files with 65 additions and 60 deletions

View File

@ -101,14 +101,12 @@ LLVMTargetMachine::LLVMTargetMachine(const Target &T,
// Set the default code model for the JIT for a generic target.
// FIXME: Is small right here? or .is64Bit() ? Large : Small?
void
LLVMTargetMachine::setCodeModelForJIT() {
void LLVMTargetMachine::setCodeModelForJIT() {
setCodeModel(CodeModel::Small);
}
// Set the default code model for static compilation for a generic target.
void
LLVMTargetMachine::setCodeModelForStatic() {
void LLVMTargetMachine::setCodeModelForStatic() {
setCodeModel(CodeModel::Small);
}