summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/ABIInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-29 02:16:43 +0000
committerChris Lattner <sabre@nondot.org>2010-07-29 02:16:43 +0000
commita3c109bbf6e198f463fbe204da4d25b40dab65c4 (patch)
tree4c82e64f8343e63b15406e6247774b2ffc66bf22 /lib/CodeGen/ABIInfo.h
parentea0443212e7ec6ff82e2f174e8e948a6eb0e0876 (diff)
now that ABIInfo depends on CGT, it has trivial access to such
things as TargetData, ASTContext, LLVMContext etc. Stop passing them through so many APIs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ABIInfo.h')
-rw-r--r--lib/CodeGen/ABIInfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/ABIInfo.h b/lib/CodeGen/ABIInfo.h
index e16e409ec2..7ce7c45010 100644
--- a/lib/CodeGen/ABIInfo.h
+++ b/lib/CodeGen/ABIInfo.h
@@ -140,8 +140,6 @@ namespace clang {
const llvm::TargetData &getTargetData() const;
virtual void computeInfo(CodeGen::CGFunctionInfo &FI,
- ASTContext &Ctx,
- llvm::LLVMContext &VMContext,
// This is the preferred type for argument lowering
// which can be used to generate better IR.
const llvm::Type *const *PrefTypes = 0,