summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 22:49:34 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 22:49:34 +0000
commit74da671c36cdaa6bea3fa7889dc9aeab572b609c (patch)
tree9cc656d059db0d34534fa11299c1062961a2a299 /lib/Target/PowerPC/PPCSubtarget.cpp
parente2b060161c92ddf60b5d020f981451e9e34a3f02 (diff)
downloadllvm-74da671c36cdaa6bea3fa7889dc9aeab572b609c.tar.gz
llvm-74da671c36cdaa6bea3fa7889dc9aeab572b609c.tar.bz2
llvm-74da671c36cdaa6bea3fa7889dc9aeab572b609c.tar.xz
eliminate asmflavor from subtarget, PPCTAI is the only client
and each callee knows that it returns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp
index ef17105160..f75e781452 100644
--- a/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -106,12 +106,8 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &FS,
}
// Set up darwin-specific properties.
- if (isDarwin()) {
+ if (isDarwin())
HasLazyResolverStubs = true;
- AsmFlavor = NewMnemonic;
- } else {
- AsmFlavor = OldMnemonic;
- }
}
/// SetJITMode - This is called to inform the subtarget info that we are