Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 91abf11a01beb2e9cd683b8ccaa97f30a9d6f55d..180255f4fd39cca153b7323c0d1c1f990224322e 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -4127,7 +4127,8 @@ void JSObject::AddProperty(Handle<JSObject> object, Handle<Name> name, |
// static |
void ExecutableAccessorInfo::ClearSetter(Handle<ExecutableAccessorInfo> info) { |
- info->set_setter(*v8::FromCData(info->GetIsolate(), nullptr)); |
+ Handle<Object> object = v8::FromCData(info->GetIsolate(), nullptr); |
+ info->set_setter(*object); |
} |