Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 21e318bfce4f95256ccf99672fdb12db97fd96e0..db9e2ef7b10f95e01cfce86773eed94bd6a6ce32 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -57,8 +57,7 @@ Smi* PropertyDetails::AsSmi() { |
PropertyDetails PropertyDetails::AsDeleted() { |
- PropertyDetails d(DONT_ENUM, NORMAL); |
- Smi* smi = Smi::FromInt(AsSmi()->value() | DeletedField::encode(1)); |
+ Smi* smi = Smi::FromInt(value_ | DeletedField::encode(1)); |
return PropertyDetails(smi); |
} |