Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 8ff7866f0a08b325a02cc93e012736c2bbdc89df..4f747af01bc4a78226722509c14c6d6878c41b2b 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6999,11 +6999,12 @@ bool AccessorInfo::IsCompatibleReceiver(Object* receiver) { |
} |
-void ExecutableAccessorInfo::clear_setter() { |
- auto foreign = GetIsolate()->factory()->NewForeign( |
+// static |
+void ExecutableAccessorInfo::ClearSetter(Handle<ExecutableAccessorInfo> info) { |
+ auto foreign = info->GetIsolate()->factory()->NewForeign( |
reinterpret_cast<v8::internal::Address>( |
reinterpret_cast<intptr_t>(nullptr))); |
- set_setter(*foreign); |
+ info->set_setter(*foreign); |
} |