[cfe-commits] r63406 - /cfe/trunk/lib/CodeGen/CGCall.cpp

Daniel Dunbar daniel at zuster.org
Fri Jan 30 10:47:53 PST 2009


Author: ddunbar
Date: Fri Jan 30 12:47:53 2009
New Revision: 63406

URL: http://llvm.org/viewvc/llvm-project?rev=63406&view=rev
Log:
Remove testing -use-x86_64-abi option; current implementation is
robust enough for general use.

Modified:
    cfe/trunk/lib/CodeGen/CGCall.cpp

Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=63406&r1=63405&r2=63406&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Fri Jan 30 12:47:53 2009
@@ -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 @@
     case 32:
       return *(TheABIInfo = new X86_32ABIInfo());
     case 64:
-      if (UseX86_64ABI)
-        return *(TheABIInfo = new X86_64ABIInfo());
+      return *(TheABIInfo = new X86_64ABIInfo());
     }
   }
 





More information about the cfe-commits mailing list