Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index c39f8a47fe604425dcd5a7f37b35f68bb985c63d..e5b1da8ab935a01cc1630e293be4cf5d4daa4c33 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7548,7 +7548,10 @@ bool HOptimizedGraphBuilder::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 = |