|
V8 Project
|
#include <compilation-cache.h>
Inheritance diagram for v8::internal::CompilationCacheRegExp:
Collaboration diagram for v8::internal::CompilationCacheRegExp:Public Member Functions | |
| CompilationCacheRegExp (Isolate *isolate, int generations) | |
| MaybeHandle< FixedArray > | Lookup (Handle< String > source, JSRegExp::Flags flags) |
| void | Put (Handle< String > source, JSRegExp::Flags flags, Handle< FixedArray > data) |
Public Member Functions inherited from v8::internal::CompilationSubCache | |
| CompilationSubCache (Isolate *isolate, int generations) | |
| ~CompilationSubCache () | |
| Handle< CompilationCacheTable > | GetTable (int generation) |
| Handle< CompilationCacheTable > | GetFirstTable () |
| void | SetFirstTable (Handle< CompilationCacheTable > value) |
| void | Age () |
| void | Iterate (ObjectVisitor *v) |
| void | IterateFunctions (ObjectVisitor *v) |
| void | Clear () |
| void | Remove (Handle< SharedFunctionInfo > function_info) |
| int | generations () |
Private Member Functions | |
| DISALLOW_IMPLICIT_CONSTRUCTORS (CompilationCacheRegExp) | |
Additional Inherited Members | |
Static Public Attributes inherited from v8::internal::CompilationSubCache | |
| static const int | kFirstGeneration = 0 |
Protected Member Functions inherited from v8::internal::CompilationSubCache | |
| Isolate * | isolate () |
Definition at line 132 of file compilation-cache.h.
|
inline |
Definition at line 134 of file compilation-cache.h.
|
private |
| MaybeHandle< FixedArray > v8::internal::CompilationCacheRegExp::Lookup | ( | Handle< String > | source, |
| JSRegExp::Flags | flags | ||
| ) |
Definition at line 266 of file compilation-cache.cc.
References v8::internal::Handle< T >::cast(), v8::internal::HandleScope::CloseAndEscape(), v8::internal::Isolate::counters(), v8::internal::Isolate::factory(), v8::internal::anonymous_namespace{flags.cc}::flags, v8::internal::CompilationSubCache::generations(), v8::internal::CompilationSubCache::GetTable(), v8::internal::CompilationSubCache::isolate(), and Put().
Referenced by v8::internal::CompilationCache::LookupRegExp().
Here is the call graph for this function:
Here is the caller graph for this function:| void v8::internal::CompilationCacheRegExp::Put | ( | Handle< String > | source, |
| JSRegExp::Flags | flags, | ||
| Handle< FixedArray > | data | ||
| ) |
Definition at line 294 of file compilation-cache.cc.
References v8::internal::anonymous_namespace{flags.cc}::flags, v8::internal::CompilationSubCache::GetFirstTable(), v8::internal::CompilationSubCache::isolate(), v8::internal::CompilationCacheTable::PutRegExp(), and v8::internal::CompilationSubCache::SetFirstTable().
Referenced by Lookup(), and v8::internal::CompilationCache::PutRegExp().
Here is the call graph for this function:
Here is the caller graph for this function: