diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-07-23 23:30:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-07-23 23:30:29 +0000 |
commit | b33a3c448ec669a7ef530ef8094cdfc9346468cf (patch) | |
tree | 9d0e20e1538b2ffb62e74774d1ffc000e1c712d3 /lib/CodeGen/TargetInfo.cpp | |
parent | debd16f75fdfa3fb0a498f89450ea574dfb3af4e (diff) |
Make classifyReturnType and classifyArgumentType private.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 13a3ff1ee2..939e53e797 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -434,12 +434,12 @@ class X86_32ABIInfo : public ABIInfo { /// \brief Return the alignment to use for the given type on the stack. unsigned getTypeStackAlignInBytes(QualType Ty, unsigned Align) const; -public: - - ABIArgInfo classifyReturnType(QualType RetTy, + ABIArgInfo classifyReturnType(QualType RetTy, unsigned callingConvention) const; ABIArgInfo classifyArgumentType(QualType RetTy) const; +public: + virtual void computeInfo(CGFunctionInfo &FI) const { FI.getReturnInfo() = classifyReturnType(FI.getReturnType(), FI.getCallingConvention()); |