|
V8 Project
|
#include <compilation-cache.h>
Inheritance diagram for v8::internal::CompilationCacheEval:
Collaboration diagram for v8::internal::CompilationCacheEval:Public Member Functions | |
| CompilationCacheEval (Isolate *isolate, int generations) | |
| MaybeHandle< SharedFunctionInfo > | Lookup (Handle< String > source, Handle< Context > context, StrictMode strict_mode, int scope_position) |
| void | Put (Handle< String > source, Handle< Context > context, Handle< SharedFunctionInfo > function_info, int scope_position) |
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 (CompilationCacheEval) | |
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 111 of file compilation-cache.h.
|
inline |
Definition at line 113 of file compilation-cache.h.
|
private |
| MaybeHandle< SharedFunctionInfo > v8::internal::CompilationCacheEval::Lookup | ( | Handle< String > | source, |
| Handle< Context > | context, | ||
| StrictMode | strict_mode, | ||
| int | scope_position | ||
| ) |
Definition at line 223 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::CompilationSubCache::generations(), v8::internal::CompilationSubCache::GetTable(), v8::internal::CompilationSubCache::isolate(), and Put().
Referenced by v8::internal::CompilationCache::LookupEval().
Here is the call graph for this function:
Here is the caller graph for this function:| void v8::internal::CompilationCacheEval::Put | ( | Handle< String > | source, |
| Handle< Context > | context, | ||
| Handle< SharedFunctionInfo > | function_info, | ||
| int | scope_position | ||
| ) |
Definition at line 254 of file compilation-cache.cc.
References v8::internal::CompilationSubCache::GetFirstTable(), v8::internal::CompilationSubCache::isolate(), v8::internal::CompilationCacheTable::PutEval(), and v8::internal::CompilationSubCache::SetFirstTable().
Referenced by Lookup(), and v8::internal::CompilationCache::PutEval().
Here is the call graph for this function:
Here is the caller graph for this function: