| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 7194a983b23b84f6d50446a1a3f9a6987b3f89dc..40aa6061c30031253020cb8ea21955e2384c79e4 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -120,6 +120,7 @@ inline Heap* _inline_get_heap_();
|
| V(Foreign, prototype_accessors, PrototypeAccessors) \
|
| V(NumberDictionary, code_stubs, CodeStubs) \
|
| V(NumberDictionary, non_monomorphic_cache, NonMonomorphicCache) \
|
| + V(PolymorphicCodeCache, polymorphic_code_cache, PolymorphicCodeCache) \
|
| V(Code, js_entry_code, JsEntryCode) \
|
| V(Code, js_construct_entry_code, JsConstructEntryCode) \
|
| V(FixedArray, natives_source_cache, NativesSourceCache) \
|
| @@ -477,6 +478,9 @@ class Heap {
|
| // Allocates an empty code cache.
|
| MUST_USE_RESULT MaybeObject* AllocateCodeCache();
|
|
|
| + // Allocates an empty PolymorphicCodeCache.
|
| + MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache();
|
| +
|
| // Clear the Instanceof cache (used when a prototype changes).
|
| inline void ClearInstanceofCache();
|
|
|
|
|