| Index: src/scopeinfo.cc
|
| diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc
|
| index 8bc0a9a503440441b9ac99ffe2ae60d452c3a5cb..d5a1cc948ed2f54460430f00a8c6f858d97d4e03 100644
|
| --- a/src/scopeinfo.cc
|
| +++ b/src/scopeinfo.cc
|
| @@ -101,7 +101,7 @@ Handle<ScopeInfo> ScopeInfo::Create(Isolate* isolate, Zone* zone,
|
| // Add parameters.
|
| DCHECK(index == scope_info->ParameterEntriesIndex());
|
| for (int i = 0; i < parameter_count; ++i) {
|
| - scope_info->set(index++, *scope->parameter(i)->name());
|
| + scope_info->set(index++, *scope->parameter_var(i)->name());
|
| }
|
|
|
| // Add stack locals' names. We are assuming that the stack locals'
|
|
|