Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 8c6e9253e11a12c21c86487fce8496e42239dc19..33041da5036e54fcd74d8f35a1961f6f9f1feef0 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3605,6 +3605,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++) { |