| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 00cd9be36aebe3097daae4635bd86abe9579b7cb..eb6473aca6fb3a7efa7ecc554498a10fb8f9de5d 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -402,13 +402,15 @@ class HGraph: public ZoneObject {
|
| }
|
|
|
| void MarkDependsOnEmptyArrayProtoElements() {
|
| + // Add map dependency if not already added.
|
| + if (depends_on_empty_array_proto_elements_) return;
|
| + isolate()->initial_object_prototype()->map()->AddDependentCompilationInfo(
|
| + DependentCode::kElementsCantBeAddedGroup, info());
|
| + isolate()->initial_array_prototype()->map()->AddDependentCompilationInfo(
|
| + DependentCode::kElementsCantBeAddedGroup, info());
|
| depends_on_empty_array_proto_elements_ = true;
|
| }
|
|
|
| - bool depends_on_empty_array_proto_elements() {
|
| - return depends_on_empty_array_proto_elements_;
|
| - }
|
| -
|
| void RecordUint32Instruction(HInstruction* instr) {
|
| if (uint32_instructions_ == NULL) {
|
| uint32_instructions_ = new(zone()) ZoneList<HInstruction*>(4, zone());
|
|
|