Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 8d45d12b5457691dac0a49a4708bc9c91f852430..e5e8235c292a15049f7afffd4ca0d0b9b9eb85fb 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1896,17 +1896,7 @@ void Oddball::set_kind(byte value) { |
} |
-Object* Cell::value() const { |
- return READ_FIELD(this, kValueOffset); |
-} |
- |
- |
-void Cell::set_value(Object* val, WriteBarrierMode ignored) { |
- // The write barrier is not used for global property cells. |
- DCHECK(!val->IsPropertyCell() && !val->IsCell()); |
- WRITE_FIELD(this, kValueOffset, val); |
-} |
- |
+ACCESSORS(Cell, value, Object, kValueOffset) |
ACCESSORS(PropertyCell, dependent_code, DependentCode, kDependentCodeOffset) |
ACCESSORS(PropertyCell, value, Object, kValueOffset) |