git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297959
91177308-0d34-0410-b5e6-
96231b3b80d8
// On ELFv2, we can avoid allocating the parameter area if all the arguments
// can be passed to the callee in registers.
// For the fast calling convention, there is another check below.
- // Note: keep consistent with LowerFormalArguments_64SVR4()
+ // Note: We should keep consistent with LowerFormalArguments_64SVR4()
bool HasParameterArea = !isELFv2ABI || isVarArg || CallConv == CallingConv::Fast;
if (!HasParameterArea) {
unsigned ParamAreaSize = NumGPRs * PtrByteSize;