Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 703b7902dece58e05f2edfe203db24c9a7515008..9d77855337b801169645e604f6d74cd6dcf0caa1 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -706,7 +706,7 @@ void AddWeakObjectToCodeDependency(Heap* heap, |
Handle<Code> code) { |
heap->EnsureWeakObjectToCodeTable(); |
Handle<DependentCode> dep(heap->LookupWeakObjectToCodeDependency(*object)); |
- dep = DependentCode::Insert(dep, DependentCode::kWeaklyEmbeddedGroup, code); |
+ dep = DependentCode::Insert(dep, DependentCode::kWeakCodeGroup, code); |
CALL_HEAP_FUNCTION_VOID(heap->isolate(), |
heap->AddWeakObjectToCodeDependency(*object, *dep)); |
} |