| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index e11dbf0222a26d5ab23b0878cf0b81e092a1b2e2..64597de03bba49a0e19c314d073dbea43ed4f1f4 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -5405,7 +5405,7 @@ void HGraphBuilder::HandleCompoundAssignment(Assignment* expr) {
|
| load = BuildLoadNamedGeneric(object, name, prop);
|
| }
|
| PushAndAdd(load);
|
| - if (load->HasObservableSideEffects()) AddSimulate(expr->CompoundLoadId());
|
| + if (load->HasObservableSideEffects()) AddSimulate(prop->LoadId());
|
|
|
| CHECK_ALIVE(VisitForValue(expr->value()));
|
| HValue* right = Pop();
|
| @@ -5449,11 +5449,11 @@ void HGraphBuilder::HandleCompoundAssignment(Assignment* expr) {
|
|
|
| bool has_side_effects = false;
|
| HValue* load = HandleKeyedElementAccess(
|
| - obj, key, NULL, prop, expr->CompoundLoadId(), RelocInfo::kNoPosition,
|
| + obj, key, NULL, prop, prop->LoadId(), RelocInfo::kNoPosition,
|
| false, // is_store
|
| &has_side_effects);
|
| Push(load);
|
| - if (has_side_effects) AddSimulate(expr->CompoundLoadId());
|
| + if (has_side_effects) AddSimulate(prop->LoadId());
|
|
|
|
|
| CHECK_ALIVE(VisitForValue(expr->value()));
|
| @@ -6934,7 +6934,7 @@ bool HGraphBuilder::TryInlineGetter(Handle<JSFunction> getter,
|
| 0,
|
| NULL,
|
| prop->id(),
|
| - prop->ReturnId(),
|
| + prop->LoadId(),
|
| NORMAL_RETURN);
|
| }
|
|
|
| @@ -7873,7 +7873,7 @@ void HGraphBuilder::VisitCountOperation(CountOperation* expr) {
|
| load = BuildLoadNamedGeneric(object, name, prop);
|
| }
|
| PushAndAdd(load);
|
| - if (load->HasObservableSideEffects()) AddSimulate(expr->CountId());
|
| + if (load->HasObservableSideEffects()) AddSimulate(prop->LoadId());
|
|
|
| after = BuildIncrement(returns_original_input, expr);
|
| input = Pop();
|
| @@ -7916,11 +7916,11 @@ void HGraphBuilder::VisitCountOperation(CountOperation* expr) {
|
|
|
| bool has_side_effects = false;
|
| HValue* load = HandleKeyedElementAccess(
|
| - obj, key, NULL, prop, expr->CountId(), RelocInfo::kNoPosition,
|
| + obj, key, NULL, prop, prop->LoadId(), RelocInfo::kNoPosition,
|
| false, // is_store
|
| &has_side_effects);
|
| Push(load);
|
| - if (has_side_effects) AddSimulate(expr->CountId());
|
| + if (has_side_effects) AddSimulate(prop->LoadId());
|
|
|
| after = BuildIncrement(returns_original_input, expr);
|
| input = Pop();
|
|
|