summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
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.h
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.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index 45ff91cb23f..6787390f92f 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -43,10 +43,6 @@ class GlobalValue;
class TargetMachine;
class PPCSubtarget : public TargetSubtarget {
-public:
- enum AsmWriterFlavorTy {
- OldMnemonic, NewMnemonic, Unset
- };
protected:
/// stackAlignment - The minimum alignment known to hold of the stack frame on
/// entry to the function and which must be maintained by every function.
@@ -58,9 +54,6 @@ protected:
/// Which cpu directive was used.
unsigned DarwinDirective;
- /// AsmFlavor - Which PPC asm dialect to use.
- AsmWriterFlavorTy AsmFlavor;
-
/// Used by the ISel to turn in optimizations for POWER4-derived architectures
bool IsGigaProcessor;
bool Has64BitSupport;
@@ -147,10 +140,6 @@ public:
bool isDarwinABI() const { return isDarwin() || IsPPC64; }
bool isSVR4ABI() const { return !isDarwin() && !IsPPC64; }
-
- unsigned getAsmFlavor() const {
- return AsmFlavor != Unset ? unsigned(AsmFlavor) : 0;
- }
};
} // End llvm namespace
OpenPOWER on IntegriCloud