Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 75344bb513a0d13365ba32bff60330cd2a521301..464efcefaf21adfe12947b10ce7994e0f99f6436 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6549,6 +6549,7 @@ void HGraphBuilder::EnsureArgumentsArePushedForAccess() { |
// Push arguments when entering inlined function. |
HEnterInlined* entry = function_state()->entry(); |
+ entry->set_arguments_pushed(); |
ZoneList<HValue*>* arguments_values = entry->arguments_values(); |
@@ -9391,6 +9392,7 @@ HEnvironment::HEnvironment(HEnvironment* outer, |
specials_count_(1), |
local_count_(0), |
outer_(outer), |
+ entry_(NULL), |
pop_count_(0), |
push_count_(0), |
ast_id_(BailoutId::None()), |
@@ -9407,6 +9409,7 @@ HEnvironment::HEnvironment(const HEnvironment* other, Zone* zone) |
specials_count_(1), |
local_count_(0), |
outer_(NULL), |
+ entry_(NULL), |
pop_count_(0), |
push_count_(0), |
ast_id_(other->ast_id()), |
@@ -9427,6 +9430,7 @@ HEnvironment::HEnvironment(HEnvironment* outer, |
parameter_count_(arguments), |
local_count_(0), |
outer_(outer), |
+ entry_(NULL), |
pop_count_(0), |
push_count_(0), |
ast_id_(BailoutId::None()), |
@@ -9455,6 +9459,7 @@ void HEnvironment::Initialize(const HEnvironment* other) { |
parameter_count_ = other->parameter_count_; |
local_count_ = other->local_count_; |
if (other->outer_ != NULL) outer_ = other->outer_->Copy(); // Deep copy. |
+ entry_ = other->entry_; |
pop_count_ = other->pop_count_; |
push_count_ = other->push_count_; |
ast_id_ = other->ast_id_; |