diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-25 05:04:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-25 05:04:13 +0000 |
commit | 456bc87e78af18331b9579069a059c723da517d9 (patch) | |
tree | 3216ae115c8d1d10a684b0a24cfd3d8b570a9f14 /lib/Target/PowerPC/PPCSubtarget.h | |
parent | 0f07e55312d4b2be83061b27e8f5cc6bed606a16 (diff) |
Improve JIT support for linux/ppc: Patch by Nicolas Geoffray!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index 7bc2b803b5..eedcf3cb11 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -134,6 +134,9 @@ public: bool isDarwin() const { return IsDarwin; } + bool isMachoABI() const { return IsDarwin; } + bool isELF_ABI() const { return !IsDarwin; } + unsigned getAsmFlavor() const { return AsmFlavor != Unset ? unsigned(AsmFlavor) : 0; } |