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 | 458b2aaee02f200854ac6d7e0ec23e954862de52 (patch) | |
tree | c92d4b687386c15df314eebd08c7d10e672c3249 /clang/lib/CodeGen/CGCall.cpp | |
parent | 2b037972220c759c418ae347563b700e49b8fb0b (diff) | |
download | bcm5719-llvm-458b2aaee02f200854ac6d7e0ec23e954862de52.tar.gz bcm5719-llvm-458b2aaee02f200854ac6d7e0ec23e954862de52.zip |
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.
llvm-svn: 109723
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 1df3803b773..acdec4646bf 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/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 |