Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index b36cff97bc1b2129ceeb1be41ecb5a223a6a88e3..4a7b200ff05fcda83e802f614cf035b44a6154ca 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -7022,7 +7022,9 @@ bool AccessorInfo::IsCompatibleReceiver(Object* receiver) { |
void ExecutableAccessorInfo::clear_setter() { |
- set_setter(GetIsolate()->heap()->undefined_value(), SKIP_WRITE_BARRIER); |
+ set_setter(*GetIsolate()->factory()->NewForeign( |
+ reinterpret_cast<v8::internal::Address>( |
+ reinterpret_cast<intptr_t>(nullptr)))); |
} |