Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index d28fad3df22c464d76b898be40fd969eb5b29a56..bef807eaf688cd14d0278f34d3a79277dcebdb5a 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3649,13 +3649,16 @@ bool Map::owns_descriptors() { |
} |
-void Map::set_has_instance_call_handler() { |
- set_bit_field3(HasInstanceCallHandler::update(bit_field3(), true)); |
+void Map::set_is_observed(bool is_observed) { |
+ ASSERT(instance_type() < FIRST_JS_OBJECT_TYPE || |
+ instance_type() > LAST_JS_OBJECT_TYPE || |
+ has_slow_elements_kind() || has_external_array_elements()); |
+ set_bit_field3(IsObserved::update(bit_field3(), is_observed)); |
} |
-bool Map::has_instance_call_handler() { |
- return HasInstanceCallHandler::decode(bit_field3()); |
+bool Map::is_observed() { |
+ return IsObserved::decode(bit_field3()); |
} |