[cfe-commits] r160648 - /cfe/trunk/lib/CodeGen/TargetInfo.cpp
Rafael Espindola
rafael.espindola at gmail.com
Mon Jul 23 16:30:29 PDT 2012
Author: rafael
Date: Mon Jul 23 18:30:29 2012
New Revision: 160648
URL: http://llvm.org/viewvc/llvm-project?rev=160648&view=rev
Log:
Make classifyReturnType and classifyArgumentType private.
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=160648&r1=160647&r2=160648&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Mon Jul 23 18:30:29 2012
@@ -434,12 +434,12 @@
/// \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());
More information about the cfe-commits
mailing list