Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index b0ad2219b674ccf9e737a414aaaa933eb0910852..07e8c5bc5b2bcae53d4a869a89605c8ad41d2a14 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -2062,11 +2062,10 @@ MUST_USE_RESULT Maybe<bool> FastAssign( |
if (use_set) { |
LookupIterator it(target, next_key, target); |
- bool call_to_js = it.IsFound() && it.state() != LookupIterator::DATA; |
Maybe<bool> result = Object::SetProperty( |
&it, prop_value, STRICT, Object::CERTAINLY_NOT_STORE_FROM_KEYED); |
if (result.IsNothing()) return result; |
- if (stable && call_to_js) stable = from->map() == *map; |
+ if (stable) stable = from->map() == *map; |
} else { |
if (excluded_properties != nullptr && |
HasExcludedProperty(excluded_properties, next_key)) { |