Skip to content

Commit

Permalink
Rename stackSize to GetStackSize.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Andreenko committed Sep 24, 2020
1 parent 20fdade commit 80beef0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/coreclr/src/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/src/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 80beef0

Please sign in to comment.