V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::CompilationCacheTable Class Reference
Inheritance diagram for v8::internal::CompilationCacheTable:
v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape > v8::internal::HashTableBase NON_EXPORTED_BASEFixedArray

Public Member Functions

Handle< ObjectLookupRegExp (Handle< String > source, JSRegExp::Flags flags)
 
void Remove (Object *value)
 
void Age ()
 
- Public Member Functions inherited from v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape >
void IteratePrefix (ObjectVisitor *visitor)
 
void IterateElements (ObjectVisitor *visitor)
 
int FindEntry (ReadOnlyRoots roots, Key key, int32_t hash)
 
int FindEntry (Isolate *isolate, Key key)
 
void Rehash (Isolate *isolate)
 
bool ToKey (ReadOnlyRoots roots, int entry, Object **out_k)
 
ObjectKeyAt (int entry)
 
 STATIC_ASSERT (kEntrySize > 0)
 
bool HasSufficientCapacityToAdd (int number_of_additional_elements)
 
- Public Member Functions inherited from v8::internal::HashTableBase
int NumberOfElements () const
 
int NumberOfDeletedElements () const
 
int Capacity () const
 
void ElementAdded ()
 
void ElementRemoved ()
 
void ElementsRemoved (int n)
 

Static Public Member Functions

static NEVER_READ_ONLY_SPACE MaybeHandle< SharedFunctionInfoLookupScript (Handle< CompilationCacheTable > table, Handle< String > src, Handle< Context > native_context, LanguageMode language_mode)
 
static InfoCellPair LookupEval (Handle< CompilationCacheTable > table, Handle< String > src, Handle< SharedFunctionInfo > shared, Handle< Context > native_context, LanguageMode language_mode, int position)
 
static Handle< CompilationCacheTablePutScript (Handle< CompilationCacheTable > cache, Handle< String > src, Handle< Context > native_context, LanguageMode language_mode, Handle< SharedFunctionInfo > value)
 
static Handle< CompilationCacheTablePutEval (Handle< CompilationCacheTable > cache, Handle< String > src, Handle< SharedFunctionInfo > outer_info, Handle< SharedFunctionInfo > value, Handle< Context > native_context, Handle< FeedbackCell > feedback_cell, int position)
 
static Handle< CompilationCacheTablePutRegExp (Isolate *isolate, Handle< CompilationCacheTable > cache, Handle< String > src, JSRegExp::Flags flags, Handle< FixedArray > value)
 
- Static Public Member Functions inherited from v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape >
static V8_WARN_UNUSED_RESULT Handle< CompilationCacheTableNew (Isolate *isolate, int at_least_space_for, PretenureFlag pretenure=NOT_TENURED, MinimumCapacity capacity_option=USE_DEFAULT_MINIMUM_CAPACITY)
 
static bool IsKey (ReadOnlyRoots roots, Object *k)
 
static constexpr int EntryToIndex (int entry)
 
static V8_WARN_UNUSED_RESULT Handle< CompilationCacheTableEnsureCapacity (Isolate *isolate, Handle< CompilationCacheTable > table, int n, PretenureFlag pretenure=NOT_TENURED)
 
- Static Public Member Functions inherited from v8::internal::HashTableBase
static int ComputeCapacity (int at_least_space_for)
 
static V8_INLINE uint32_t GetProbeOffset (uint32_t n)
 

Static Public Attributes

static const int kHashGenerations = 10
 
- Static Public Attributes inherited from v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape >
static const int kElementsStartIndex
 
static const int kEntrySize
 
static const int kEntryKeyIndex
 
static const int kElementsStartOffset
 
static const int kMaxCapacity
 
static const int kMinShrinkCapacity
 
static const int kMaxRegularCapacity
 
- Static Public Attributes inherited from v8::internal::HashTableBase
static const int kNumberOfElementsIndex = 0
 
static const int kNumberOfDeletedElementsIndex = 1
 
static const int kCapacityIndex = 2
 
static const int kPrefixStartIndex = 3
 
static const int kNotFound = -1
 
static const int kMinCapacity = 4
 

Additional Inherited Members

- Public Types inherited from v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape >
typedef CompilationCacheShape ShapeT
 
typedef CompilationCacheShape ::Key Key
 
- Protected Member Functions inherited from v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape >
uint32_t FindInsertionEntry (uint32_t hash)
 
- Protected Member Functions inherited from v8::internal::HashTableBase
void SetNumberOfElements (int nof)
 
void SetNumberOfDeletedElements (int nod)
 
- Static Protected Member Functions inherited from v8::internal::HashTable< CompilationCacheTable, CompilationCacheShape >
static V8_WARN_UNUSED_RESULT Handle< CompilationCacheTableNewInternal (Isolate *isolate, int capacity, PretenureFlag pretenure)
 
static V8_WARN_UNUSED_RESULT Handle< CompilationCacheTableShrink (Isolate *isolate, Handle< CompilationCacheTable > table, int additionalCapacity=0)
 
- Static Protected Member Functions inherited from v8::internal::HashTableBase
static uint32_t GetProbe (uint32_t hash, uint32_t number, uint32_t size)
 
static uint32_t FirstProbe (uint32_t hash, uint32_t size)
 
static uint32_t NextProbe (uint32_t last, uint32_t number, uint32_t size)
 

Detailed Description

Definition at line 68 of file compilation-cache.h.


The documentation for this class was generated from the following files: