Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 0c1cc570cadc66810ec121efb7f29b0f63700c9b..3ef878eba4d57a5307d8972c0e29b8b45c234056 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -5514,11 +5514,11 @@ void Heap::AddWeakObjectToCodeDependency(Handle<Object> obj, |
WeakHashTable::cast(weak_object_to_code_table_)->Zap(the_hole_value()); |
} |
set_weak_object_to_code_table(*table); |
- ASSERT_EQ(*dep, table->Lookup(*obj)); |
+ ASSERT_EQ(*dep, table->Lookup(obj)); |
} |
-DependentCode* Heap::LookupWeakObjectToCodeDependency(Object* obj) { |
+DependentCode* Heap::LookupWeakObjectToCodeDependency(Handle<Object> obj) { |
Object* dep = WeakHashTable::cast(weak_object_to_code_table_)->Lookup(obj); |
if (dep->IsDependentCode()) return DependentCode::cast(dep); |
return DependentCode::cast(empty_fixed_array()); |