Commit cd9ad959 authored by Toon Verwaest's avatar Toon Verwaest Committed by Commit Bot

[ic] Remove receiver_is_holder debug unused variable

BUG=

Change-Id: I62c570ee929b8fbbba99acabd2d149dde99887e5
Reviewed-on: https://chromium-review.googlesource.com/454041Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43788}
parent db264c84
......@@ -1429,21 +1429,20 @@ Handle<Object> LoadIC::CompileHandler(LookupIterator* lookup,
#ifdef DEBUG
// Only used by DCHECKs below.
Handle<Object> receiver = lookup->GetReceiver();
bool receiver_is_holder = receiver.is_identical_to(holder);
#endif
// Non-map-specific handler stubs have already been selected.
DCHECK(!receiver->IsString() ||
CHECK(!receiver->IsString() ||
!Name::Equals(isolate()->factory()->length_string(), lookup->name()));
DCHECK(!receiver->IsStringWrapper() ||
CHECK(!receiver->IsStringWrapper() ||
!Name::Equals(isolate()->factory()->length_string(), lookup->name()));
DCHECK(!(
CHECK(!(
receiver->IsJSFunction() &&
Name::Equals(isolate()->factory()->prototype_string(), lookup->name()) &&
receiver->IsConstructor() &&
!Handle<JSFunction>::cast(receiver)
->map()
->has_non_instance_prototype()));
#endif
Handle<Map> map = receiver_map();
switch (lookup->state()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment