aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-01-16 09:29:17 +0000
committerBill Wendling <isanbard@gmail.com>2007-01-16 09:29:17 +0000
commitcb9009993b20ab41fab56518d666ba69533db4b3 (patch)
tree702ff79e3f5d490d36250820346266a207713bde /lib/Target/PowerPC/PPCSubtarget.cpp
parent19e8b0c1f5e1137de6679211d17b62f03e69a1fc (diff)
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
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp
index eca16c4a38..235b9d591d 100644
--- a/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -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;
}
}