aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-09-04 16:44:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-09-04 16:44:41 +0000
commit29d62bebd91fbd8a79996c3983dcd567c30c112c (patch)
treef8d2dd1bf5a7b2aff7928078cb89ca458a34161e /lib
parentb8f74793b9d161bc666fe27fc92fe112b6ec169b (diff)
Mac OS X X86-64 ABI is same as the standard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86Subtarget.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index 1b76d76c7a..493c801f8c 100644
--- a/lib/Target/X86/X86Subtarget.h
+++ b/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";