From 70caf05b6adffa7583b8ffc046234864e7407613 Mon Sep 17 00:00:00 2001 From: dcarney Date: Wed, 10 Dec 2014 04:14:12 -0800 Subject: [PATCH] fix gcmole warning after r25737 TBR=jkummerow@chromium.org BUG= Review URL: https://codereview.chromium.org/794563002 Cr-Commit-Position: refs/heads/master@{#25744} --- src/objects-inl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/objects-inl.h b/src/objects-inl.h index 4a7b200ff0..8362bcd913 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( - reinterpret_cast(nullptr)))); + reinterpret_cast(nullptr))); + set_setter(*foreign); }