Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 95a0eca6a88ac51a04b2e47b59439a104cc4e9ae..e974a0e3740c828b4635822b22d5b3e35b86ded5 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3592,6 +3592,16 @@ bool Map::is_deprecated() { |
} |
+void Map::freeze() { |
+ set_bit_field3(IsFrozen::update(bit_field3(), true)); |
+} |
+ |
+ |
+bool Map::is_frozen() { |
+ return IsFrozen::decode(bit_field3()); |
+} |
+ |
+ |
bool Map::CanBeDeprecated() { |
int descriptor = LastAdded(); |
for (int i = 0; i <= descriptor; i++) { |