aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-30 18:47:53 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-30 18:47:53 +0000
commit11a76ed8e34901f2b997896a8c0833c6c17bc586 (patch)
treec5f6ea7394b1815fdf861536eaa6829fa4fcf47d /lib/CodeGen/CGCall.cpp
parent71d8bfb560735e8d47105cf434409ed347267830 (diff)
Remove testing -use-x86_64-abi option; current implementation is
robust enough for general use. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r--lib/CodeGen/CGCall.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index 8027612cd4..21eccdc2a3 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/lib/CodeGen/CGCall.cpp
@@ -27,11 +27,6 @@
using namespace clang;
using namespace CodeGen;
-static llvm::cl::opt<bool>
-UseX86_64ABI("use-x86_64-abi",
- llvm::cl::desc("Enable use of experimental x86_64 ABI."),
- llvm::cl::init(false));
-
/***/
// FIXME: Use iterator and sidestep silly type array creation.
@@ -760,8 +755,7 @@ const ABIInfo &CodeGenTypes::getABIInfo() const {
case 32:
return *(TheABIInfo = new X86_32ABIInfo());
case 64:
- if (UseX86_64ABI)
- return *(TheABIInfo = new X86_64ABIInfo());
+ return *(TheABIInfo = new X86_64ABIInfo());
}
}