From: Daniel Dunbar Date: Fri, 30 Jan 2009 18:47:53 +0000 (+0000) Subject: Remove testing -use-x86_64-abi option; current implementation is X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11a76ed8e34901f2b997896a8c0833c6c17bc586;p=clang 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 --- 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 -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()); } }