fix gcmole warning after r25737

TBR=jkummerow@chromium.org

BUG=

Review URL: https://codereview.chromium.org/794563002

Cr-Commit-Position: refs/heads/master@{#25744}
This commit is contained in:
dcarney 2014-12-10 04:14:12 -08:00 committed by Commit bot
parent f6849d9ed4
commit 70caf05b6a

View File

@ -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);
}