diff --git a/src/coreclr/src/jit/compiler.h b/src/coreclr/src/jit/compiler.h index b73592da64ca01..1b184290d6a1f8 100644 --- a/src/coreclr/src/jit/compiler.h +++ b/src/coreclr/src/jit/compiler.h @@ -1613,7 +1613,8 @@ struct fgArgTabEntry return 0; } - unsigned stackSize() const + // Get the number of bytes that this argument is occyping on the stack. + unsigned GetStackSize() const { return (TARGET_POINTER_SIZE * this->numSlots); } diff --git a/src/coreclr/src/jit/morph.cpp b/src/coreclr/src/jit/morph.cpp index 52ed8b3bb5eba3..1936dc20ab3c5e 100644 --- a/src/coreclr/src/jit/morph.cpp +++ b/src/coreclr/src/jit/morph.cpp @@ -6695,7 +6695,7 @@ bool Compiler::fgCanFastTailCall(GenTreeCall* callee, const char** failReason) { fgArgTabEntry* arg = argInfo->GetArgEntry(index, false); - calleeArgStackSize += arg->stackSize(); + calleeArgStackSize += arg->GetStackSize(); } auto reportFastTailCallDecision = [&](const char* thisFailReason) {