| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 161a33a10d4ac8663c2e57e81b99a737b8468cfc..5bf2339da616be5f0cb010e29ef94ee81ddc801e 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2472,9 +2472,8 @@ void AstGraphBuilder::VisitCallSuper(Call* expr) {
|
| // Prepare the callee to the super call.
|
| VisitForValue(super->this_function_var());
|
| Node* this_function = environment()->Pop();
|
| - const Operator* op =
|
| - javascript()->CallRuntime(Runtime::kInlineGetSuperConstructor, 1);
|
| - Node* super_function = NewNode(op, this_function);
|
| + Node* super_function =
|
| + NewNode(javascript()->GetSuperConstructor(), this_function);
|
| environment()->Push(super_function);
|
|
|
| // Evaluate all arguments to the super call.
|
|
|