Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index dbf21d2c833ccf820cf17b103091962005bfc151..d5ffe17317b5c487f3d58e68134a3940c7bd5c22 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1314,11 +1314,8 @@ void AllocationSite::Initialize() { |
void AllocationSite::MarkZombie() { |
ASSERT(!IsZombie()); |
+ Initialize(); |
set_pretenure_decision(Smi::FromInt(kZombie)); |
- // Clear all non-smi fields |
- set_transition_info(Smi::FromInt(0)); |
- set_dependent_code(DependentCode::cast(GetHeap()->empty_fixed_array()), |
- SKIP_WRITE_BARRIER); |
} |