Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 374e54c97389e448721421ca80898aeb6d42df1d..8393e51f9e42f76898b6a501083f0c4df952a179 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7502,7 +7502,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 = |