Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Unified Diff: src/objects-inl.h

Issue 794563002: fix gcmole warning after r25737 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 4a7b200ff05fcda83e802f614cf035b44a6154ca..8362bcd913633ff5dcae96e4cec92b8cfa35c7e1 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -7022,9 +7022,10 @@ bool AccessorInfo::IsCompatibleReceiver(Object* receiver) {
void ExecutableAccessorInfo::clear_setter() {
- set_setter(*GetIsolate()->factory()->NewForeign(
+ auto foreign = GetIsolate()->factory()->NewForeign(
reinterpret_cast<v8::internal::Address>(
- reinterpret_cast<intptr_t>(nullptr))));
+ reinterpret_cast<intptr_t>(nullptr)));
+ set_setter(*foreign);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698