| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 97306a165963da9aff7824321404240b0bb2b5b2..bdca43ed520f348e1fbdc8f53fab0d56d87bc348 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -7493,7 +7493,10 @@ bool HGraphBuilder::TryCallApply(Call* expr) {
|
| return true;
|
| } else {
|
| // We are inside inlined function and we know exactly what is inside
|
| - // arguments object.
|
| + // arguments object. But we need to be able to materialize at deopt.
|
| + // TODO(mstarzinger): For now we just ensure arguments are pushed
|
| + // right after HEnterInlined, but we could be smarter about this.
|
| + EnsureArgumentsArePushedForAccess();
|
| HValue* context = environment()->LookupContext();
|
|
|
| HValue* wrapped_receiver =
|
|
|