Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index f220b829bf9dc0226e75bdfaa74bed46534520e4..c2518b625c01c013a2608a287c00f212b6546425 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -1028,7 +1028,7 @@ MUST_USE_RESULT static MaybeHandle<Object> ReplaceAccessorWithDataProperty( |
CHECK_EQ(LookupIterator::ACCESSOR, it.state()); |
DCHECK(it.HolderIsReceiverOrHiddenPrototype()); |
it.ReconfigureDataProperty(value, it.property_details().attributes()); |
- value = it.WriteDataValue(value); |
+ it.WriteDataValue(value); |
if (is_observed && !old_value->SameValue(*value)) { |
return JSObject::EnqueueChangeRecord(object, "update", name, old_value); |