diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-09-04 16:44:41 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-04 16:44:41 +0000 |
commit | 623dd8877559a1912d247235651a226efdd45c2b (patch) | |
tree | 5a5fed6bcf3cfb4e716c2801007e87925f88ca76 /llvm/lib/Target/X86/X86Subtarget.h | |
parent | c656cbb8c20d1ea38bdb5d1ac39dbcd0405a98dc (diff) | |
download | bcm5719-llvm-623dd8877559a1912d247235651a226efdd45c2b.tar.gz bcm5719-llvm-623dd8877559a1912d247235651a226efdd45c2b.zip |
Mac OS X X86-64 ABI is same as the standard.
llvm-svn: 41700
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index 1b76d76c7a2..493c801f8ce 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -145,12 +145,8 @@ public: std::string getDataLayout() const { const char *p; - if (is64Bit()) { - if (isTargetDarwin()) - p = "e-p:64:64-f64:32:64-i64:32:64-f80:128:128"; - else - p = "e-p:64:64-f64:64:64-i64:64:64-f80:128:128"; - } + if (is64Bit()) + p = "e-p:64:64-f64:64:64-i64:64:64-f80:128:128"; else { if (isTargetDarwin()) p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128"; |