Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 4fecb0bd24fd0a23db36ece3c3595ffb74dd5012..4ee7734a2f78c91cfce410268e5954ab35fd614d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -11092,8 +11092,9 @@ void Map::ZapPrototypeTransitions() { |
void Map::AddDependentCompilationInfo(DependentCode::DependencyGroup group, |
CompilationInfo* info) { |
- Handle<DependentCode> codes = DependentCode::Insert( |
- Handle<DependentCode>(dependent_code()), group, info->object_wrapper()); |
+ Handle<DependentCode> dep(dependent_code()); |
+ Handle<DependentCode> codes = |
+ DependentCode::Insert(dep, group, info->object_wrapper()); |
if (*codes != dependent_code()) set_dependent_code(*codes); |
info->dependent_maps(group)->Add(Handle<Map>(this), info->zone()); |
} |