| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 2e594c21c7cc98f5040089af7319ffe30654fcd6..bb64770b4df9c3915b17ea591480f0e1afb88f21 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2505,10 +2505,9 @@ void AstGraphBuilder::VisitCallSuper(Call* expr) {
|
| // the prototype of the constructor we are currently executing.
|
| VisitForValue(super->this_function_var());
|
| Node* this_function = environment()->Pop();
|
| - const Operator* op = javascript()->CallRuntime(Runtime::kGetPrototype, 1);
|
| + const Operator* op =
|
| + javascript()->CallRuntime(Runtime::kInlineGetSuperConstructor, 1);
|
| Node* super_function = NewNode(op, this_function);
|
| - // TODO(mstarzinger): This probably needs a proper bailout id.
|
| - PrepareFrameState(super_function, BailoutId::None());
|
| environment()->Push(super_function);
|
|
|
| // Evaluate all arguments to the super call.
|
|
|