| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index cf7bbc99a52a8e830c5b3b5d78fd6e8635649402..09f829f33fded05693ed15321329cab6be495d9a 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -667,7 +667,7 @@ static BailoutId BeforeId(VariableProxy* proxy) {
|
|
|
| static const char* GetDebugParameterName(Zone* zone, Scope* scope, int index) {
|
| #if DEBUG
|
| - const AstRawString* name = scope->parameter(index)->raw_name();
|
| + const AstRawString* name = scope->parameter_var(index)->raw_name();
|
| if (name && name->length() > 0) {
|
| char* data = zone->NewArray<char>(name->length() + 1);
|
| data[name->length()] = 0;
|
| @@ -3054,7 +3054,7 @@ Node* AstGraphBuilder::BuildLocalFunctionContext(Node* context,
|
| // Copy parameters into context if necessary.
|
| int num_parameters = scope->num_parameters();
|
| for (int i = 0; i < num_parameters; i++) {
|
| - Variable* variable = scope->parameter(i);
|
| + Variable* variable = scope->parameter_var(i);
|
| if (!variable->IsContextSlot()) continue;
|
| // Temporary parameter node. The parameter indices are shifted by 1
|
| // (receiver is parameter index -1 but environment index 0).
|
|
|