summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/ABIInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-29 02:31:05 +0000
committerChris Lattner <sabre@nondot.org>2010-07-29 02:31:05 +0000
commitee5dcd064a811edc90f6c1fb31a837b6c961fed7 (patch)
tree678e7ef9a5ee41b93e7345cea0f76ffe1e780b8a /lib/CodeGen/ABIInfo.h
parentd7ac856be5a124cf3b7810d033fb34d3a39c0e2c (diff)
dissolve some more complexity: make the x86-64 abi lowering code
compute its own preferred types instead of having CGT compute them then pass them (circuituously) down into ABIInfo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ABIInfo.h')
-rw-r--r--lib/CodeGen/ABIInfo.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/ABIInfo.h b/lib/CodeGen/ABIInfo.h
index 7ce7c45010..30f99c31e3 100644
--- a/lib/CodeGen/ABIInfo.h
+++ b/lib/CodeGen/ABIInfo.h
@@ -139,11 +139,7 @@ namespace clang {
llvm::LLVMContext &getVMContext() const;
const llvm::TargetData &getTargetData() const;
- virtual void computeInfo(CodeGen::CGFunctionInfo &FI,
- // This is the preferred type for argument lowering
- // which can be used to generate better IR.
- const llvm::Type *const *PrefTypes = 0,
- unsigned NumPrefTypes = 0) const = 0;
+ virtual void computeInfo(CodeGen::CGFunctionInfo &FI) const = 0;
/// EmitVAArg - Emit the target dependent code to load a value of
/// \arg Ty from the va_list pointed to by \arg VAListAddr.