Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index da415d463717bee4400ac088d80836f2cb672ecb..b035ed1afa316f44037a8e4c7e12bb0d4c786896 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -2174,7 +2174,7 @@ HInstruction* HGraphBuilder::BuildUncheckedMonomorphicElementAccess( |
// generated store code. |
if ((elements_kind == FAST_HOLEY_ELEMENTS) || |
(elements_kind == FAST_ELEMENTS && access_type == STORE)) { |
- checked_object->ClearGVNFlag(kDependsOnElementsKind); |
+ checked_object->ClearDependsOnFlag(kElementsKind); |
} |
bool fast_smi_only_elements = IsFastSmiElementsKind(elements_kind); |
@@ -2184,7 +2184,7 @@ HInstruction* HGraphBuilder::BuildUncheckedMonomorphicElementAccess( |
store_mode != STORE_NO_TRANSITION_HANDLE_COW) { |
HCheckMaps* check_cow_map = Add<HCheckMaps>( |
elements, isolate()->factory()->fixed_array_map(), top_info()); |
- check_cow_map->ClearGVNFlag(kDependsOnElementsKind); |
+ check_cow_map->ClearDependsOnFlag(kElementsKind); |
} |
HInstruction* length = NULL; |
if (is_js_array) { |
@@ -2258,7 +2258,7 @@ HInstruction* HGraphBuilder::BuildUncheckedMonomorphicElementAccess( |
} else { |
HCheckMaps* check_cow_map = Add<HCheckMaps>( |
elements, isolate()->factory()->fixed_array_map(), top_info()); |
- check_cow_map->ClearGVNFlag(kDependsOnElementsKind); |
+ check_cow_map->ClearDependsOnFlag(kElementsKind); |
} |
} |
} |
@@ -5309,7 +5309,7 @@ HInstruction* HOptimizedGraphBuilder::BuildStoreNamedField( |
if (transition_to_field) { |
HConstant* transition_constant = Add<HConstant>(info->transition()); |
instr->SetTransition(transition_constant, top_info()); |
- instr->SetGVNFlag(kChangesMaps); |
+ instr->SetChangesFlag(kMaps); |
} |
return instr; |
} |
@@ -6208,7 +6208,7 @@ HInstruction* HOptimizedGraphBuilder::BuildMonomorphicElementAccess( |
HCheckMaps* checked_object = Add<HCheckMaps>(object, map, top_info(), |
dependency); |
if (dependency) { |
- checked_object->ClearGVNFlag(kDependsOnElementsKind); |
+ checked_object->ClearDependsOnFlag(kElementsKind); |
} |
if (access_type == STORE && map->prototype()->IsJSObject()) { |
@@ -6688,7 +6688,7 @@ HInstruction* HGraphBuilder::BuildConstantMapCheck(Handle<JSObject> constant, |
AddInstruction(constant_value); |
HCheckMaps* check = |
Add<HCheckMaps>(constant_value, handle(constant->map()), info); |
- check->ClearGVNFlag(kDependsOnElementsKind); |
+ check->ClearDependsOnFlag(kElementsKind); |
return check; |
} |