Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index a6f87981f62c8962c2b79cf8fa21f2edaafc4054..421c2656e257dd259b40d6253fc8a131b5324903 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3373,6 +3373,11 @@ Code::Flags Code::flags() { |
} |
+inline bool Map::CanTrackAllocationSite() { |
+ return instance_type() == JS_ARRAY_TYPE; |
+} |
+ |
+ |
void Map::set_owns_descriptors(bool is_shared) { |
set_bit_field3(OwnsDescriptors::update(bit_field3(), is_shared)); |
} |