Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index a8aa1bfe6bffde388037d4c9844bf06143bf4067..9e6d08acc1bb88148837bafa49162cfaf47acd8f 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3607,6 +3607,11 @@ bool Map::is_frozen() { |
} |
+bool Map::has_code_cache() { |
+ return code_cache() != GetIsolate()->heap()->empty_fixed_array(); |
+} |
+ |
+ |
bool Map::CanBeDeprecated() { |
int descriptor = LastAdded(); |
for (int i = 0; i <= descriptor; i++) { |