Reviewers: Igor Sheludko,
Message:
ptal
Description:
Fix GCMole issue
BUG=
Please review this at https://codereview.chromium.org/1178883003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+2, -1 lines):
M src/objects.cc
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);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.