Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 4250dc7fd6d6112473029a94a7583884a5b7edd0..d01a6ae4fe8254f5a10833584abcf51c85ae58bc 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -438,9 +438,11 @@ class HGraph V8_FINAL : 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( |
+ Map::AddDependentCompilationInfo( |
+ handle(isolate()->initial_object_prototype()->map()), |
DependentCode::kElementsCantBeAddedGroup, info()); |
- isolate()->initial_array_prototype()->map()->AddDependentCompilationInfo( |
+ Map::AddDependentCompilationInfo( |
+ handle(isolate()->initial_array_prototype()->map()), |
DependentCode::kElementsCantBeAddedGroup, info()); |
depends_on_empty_array_proto_elements_ = true; |
} |