| Index: src/objects-inl.h
|
| ===================================================================
|
| --- src/objects-inl.h (revision 5141)
|
| +++ src/objects-inl.h (working copy)
|
| @@ -574,6 +574,18 @@
|
| }
|
|
|
|
|
| +bool Object::IsNormalizedMapCache() {
|
| + if (!IsFixedArray()) return false;
|
| + if (FixedArray::cast(this)->length() != NormalizedMapCache::kEntries) {
|
| + return false;
|
| + }
|
| +#ifdef DEBUG
|
| + reinterpret_cast<NormalizedMapCache*>(this)->NormalizedMapCacheVerify();
|
| +#endif
|
| + return true;
|
| +}
|
| +
|
| +
|
| bool Object::IsCompilationCacheTable() {
|
| return IsHashTable();
|
| }
|
| @@ -1627,6 +1639,7 @@
|
| CAST_ACCESSOR(DescriptorArray)
|
| CAST_ACCESSOR(SymbolTable)
|
| CAST_ACCESSOR(JSFunctionResultCache)
|
| +CAST_ACCESSOR(NormalizedMapCache)
|
| CAST_ACCESSOR(CompilationCacheTable)
|
| CAST_ACCESSOR(CodeCacheHashTable)
|
| CAST_ACCESSOR(MapCache)
|
|
|