diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-29 02:16:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-29 02:16:43 +0000 |
commit | a3c109bbf6e198f463fbe204da4d25b40dab65c4 (patch) | |
tree | 4c82e64f8343e63b15406e6247774b2ffc66bf22 /lib/CodeGen/CGCall.cpp | |
parent | ea0443212e7ec6ff82e2f174e8e948a6eb0e0876 (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/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 1df3803b77..acdec4646b 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -255,8 +255,8 @@ const CGFunctionInfo &CodeGenTypes::getFunctionInfo(CanQualType ResTy, } // Compute ABI information. - getABIInfo().computeInfo(*FI, getContext(), TheModule.getContext(), - PreferredArgTypes.data(), PreferredArgTypes.size()); + getABIInfo().computeInfo(*FI, PreferredArgTypes.data(), + PreferredArgTypes.size()); // If this is a top-level call and ConvertTypeRecursive hit unresolved pointer // types, resolve them now. These pointers may point to this function, which |