Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index 2c05188359b9f4c3fd1cb335457153bd8e1c8e9a..191b45789fbec659d2f687612d50b2c93a069de2 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -460,6 +460,12 @@ class LookupResult V8_FINAL BASE_EMBEDDED { |
return map->FindFieldOwner(number_); |
} |
+ bool ReceiverIsHolder(Handle<Object> receiver) { |
+ if (*receiver == holder()) return true; |
+ if (lookup_type_ == TRANSITION_TYPE) return true; |
+ return false; |
+ } |
+ |
void Iterate(ObjectVisitor* visitor); |
private: |