Home | History | Annotate | Download | only in src

Lines Matching full:handle

45 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) {
47 Handle<CompilationCacheTable> result;
54 result = Handle<CompilationCacheTable>(table, isolate());
91 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) {
93 // into the caller's handle scope.
96 Handle<CompilationCacheTable> table = GetTable(generation);
114 Handle<SharedFunctionInfo> function_info,
115 Handle<Object> name,
119 Handle<Script> script =
120 Handle<Script>(Script::cast(function_info->script()), isolate());
134 return String::Equals(Handle<String>::cast(name),
135 Handle<String>(String::cast(script->name())));
143 Handle<SharedFunctionInfo> CompilationCacheScript::Lookup(
144 Handle<String> source,
145 Handle<Object> name,
149 Handle<Context> context) {
154 // into the caller's handle scope.
157 Handle<CompilationCacheTable> table = GetTable(generation);
158 Handle<Object> probe = table->Lookup(source, context);
160 Handle<SharedFunctionInfo> function_info =
161 Handle<SharedFunctionInfo>::cast(probe);
190 // Once outside the manacles of the handle scope, we need to recheck
192 // handle created in the caller's handle scope.
194 Handle<SharedFunctionInfo> shared(SharedFunctionInfo::cast(result),
208 return Handle<SharedFunctionInfo>::null();
213 void CompilationCacheScript::Put(Handle<String> source,
214 Handle<Context> context,
215 Handle<SharedFunctionInfo> function_info) {
217 Handle<CompilationCacheTable> table = GetFirstTable();
224 Handle<String> source, Handle<SharedFunctionInfo> outer_info,
227 // Make sure not to leak the table into the surrounding handle
230 Handle<Object> result = isolate()->factory()->undefined_value();
233 Handle<CompilationCacheTable> table = GetTable(generation);
238 Handle<SharedFunctionInfo> function_info =
239 Handle<SharedFunctionInfo>::cast(result);
252 void CompilationCacheEval::Put(Handle<String> source,
253 Handle<SharedFunctionInfo> outer_info,
254 Handle<SharedFunctionInfo> function_info,
257 Handle<CompilationCacheTable> table = GetFirstTable();
265 Handle<String> source,
268 // Make sure not to leak the table into the surrounding handle
271 Handle<Object> result = isolate()->factory()->undefined_value();
274 Handle<CompilationCacheTable> table = GetTable(generation);
279 Handle<FixedArray> data = Handle<FixedArray>::cast(result);
292 void CompilationCacheRegExp::Put(Handle<String> source,
294 Handle<FixedArray> data) {
296 Handle<CompilationCacheTable> table = GetFirstTable();
301 void CompilationCache::Remove(Handle<SharedFunctionInfo> function_info) {
311 Handle<String> source,
312 Handle<Object> name,
316 Handle<Context> context) {
325 Handle<String> source, Handle<SharedFunctionInfo> outer_info,
326 Handle<Context> context, StrictMode strict_mode, int scope_position) {
342 MaybeHandle<FixedArray> CompilationCache::LookupRegExp(Handle<String> source,
350 void CompilationCache::PutScript(Handle<String> source,
351 Handle<Context> context,
352 Handle<SharedFunctionInfo> function_info) {
359 void CompilationCache::PutEval(Handle<String> source,
360 Handle<SharedFunctionInfo> outer_info,
361 Handle<Context> context,
362 Handle<SharedFunctionInfo> function_info,
377 void CompilationCache::PutRegExp(Handle<String> source,
379 Handle<FixedArray> data) {