Instead of yet another enum indicating the "assembly language flavor",

just use the one that's in the subtarget.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33255 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2007-01-16 09:29:17 +00:00
parent 19e8b0c1f5
commit cb9009993b
5 changed files with 22 additions and 18 deletions

View File

@@ -112,6 +112,9 @@ PPCSubtarget::PPCSubtarget(const TargetMachine &tm, const Module &M,
// Set up darwin-specific properties.
if (IsDarwin) {
HasLazyResolverStubs = true;
AsmFlavor = NewMnemonic;
} else {
AsmFlavor = OldMnemonic;
}
}