summaryrefslogtreecommitdiffstats
path: root/llvm/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
commite655521a289c91fa645fd3bd9a4cb9e8f8994a6d (patch)
treec954fac464f7bbd3968d89cfcaba07bd71ac6972 /llvm/lib/Target/PowerPC/PPCSubtarget.cpp
parentb3788a24c6f48da4b2406945c4d06693ff152b66 (diff)
downloadbcm5719-llvm-e655521a289c91fa645fd3bd9a4cb9e8f8994a6d.tar.gz
bcm5719-llvm-e655521a289c91fa645fd3bd9a4cb9e8f8994a6d.zip
eliminate asmflavor from subtarget, PPCTAI is the only client
and each callee knows that it returns. llvm-svn: 78742
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index ef17105160e..f75e7814526 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud