Commit f5456f37 authored by Victor Gomes's avatar Victor Gomes Committed by Commit Bot

[frames] Fix GetActualArgumentCount typo

Change-Id: I624b16162dd859dc88b5f26cfc7d1a4a15089095
Bug: v8:10201
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2438455
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70219}
parent e60d8600
......@@ -205,7 +205,7 @@ Address JavaScriptFrame::GetParameterSlot(int index) const {
DCHECK_LE(-1, index);
#ifdef V8_NO_ARGUMENTS_ADAPTOR
DCHECK_LT(index,
std::max(GetActualArgumentsCount(), ComputeParametersCount()));
std::max(GetActualArgumentCount(), ComputeParametersCount()));
#else
DCHECK(index < ComputeParametersCount() ||
ComputeParametersCount() == kDontAdaptArgumentsSentinel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment