Lines Matching refs:Handle
68 static Handle<CompilationCacheTable> AllocateTable(Isolate* isolate, int size) { in AllocateTable()
75 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) { in GetTable()
77 Handle<CompilationCacheTable> result; in GetTable()
84 result = Handle<CompilationCacheTable>(table, isolate()); in GetTable()
121 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove()
126 Handle<CompilationCacheTable> table = GetTable(generation); in Remove()
144 Handle<SharedFunctionInfo> function_info, in HasOrigin()
145 Handle<Object> name, in HasOrigin()
149 Handle<Script> script = in HasOrigin()
150 Handle<Script>(Script::cast(function_info->script()), isolate()); in HasOrigin()
172 Handle<SharedFunctionInfo> CompilationCacheScript::Lookup( in Lookup()
173 Handle<String> source, in Lookup()
174 Handle<Object> name, in Lookup()
178 Handle<Context> context) { in Lookup()
186 Handle<CompilationCacheTable> table = GetTable(generation); in Lookup()
187 Handle<Object> probe(table->Lookup(*source, *context), isolate()); in Lookup()
189 Handle<SharedFunctionInfo> function_info = in Lookup()
190 Handle<SharedFunctionInfo>::cast(probe); in Lookup()
223 Handle<SharedFunctionInfo> shared(SharedFunctionInfo::cast(result), in Lookup()
237 return Handle<SharedFunctionInfo>::null(); in Lookup()
243 Handle<String> source, in TryTablePut()
244 Handle<Context> context, in TryTablePut()
245 Handle<SharedFunctionInfo> function_info) { in TryTablePut()
246 Handle<CompilationCacheTable> table = GetFirstTable(); in TryTablePut()
251 Handle<CompilationCacheTable> CompilationCacheScript::TablePut( in TablePut()
252 Handle<String> source, in TablePut()
253 Handle<Context> context, in TablePut()
254 Handle<SharedFunctionInfo> function_info) { in TablePut()
261 void CompilationCacheScript::Put(Handle<String> source, in Put()
262 Handle<Context> context, in Put()
263 Handle<SharedFunctionInfo> function_info) { in Put()
269 Handle<SharedFunctionInfo> CompilationCacheEval::Lookup( in Lookup()
270 Handle<String> source, in Lookup()
271 Handle<Context> context, in Lookup()
281 Handle<CompilationCacheTable> table = GetTable(generation); in Lookup()
290 Handle<SharedFunctionInfo> in Lookup()
299 return Handle<SharedFunctionInfo>::null(); in Lookup()
305 Handle<String> source, in TryTablePut()
306 Handle<Context> context, in TryTablePut()
307 Handle<SharedFunctionInfo> function_info, in TryTablePut()
309 Handle<CompilationCacheTable> table = GetFirstTable(); in TryTablePut()
314 Handle<CompilationCacheTable> CompilationCacheEval::TablePut( in TablePut()
315 Handle<String> source, in TablePut()
316 Handle<Context> context, in TablePut()
317 Handle<SharedFunctionInfo> function_info, in TablePut()
326 void CompilationCacheEval::Put(Handle<String> source, in Put()
327 Handle<Context> context, in Put()
328 Handle<SharedFunctionInfo> function_info, in Put()
335 Handle<FixedArray> CompilationCacheRegExp::Lookup(Handle<String> source, in Lookup()
344 Handle<CompilationCacheTable> table = GetTable(generation); in Lookup()
352 Handle<FixedArray> data(FixedArray::cast(result), isolate()); in Lookup()
360 return Handle<FixedArray>::null(); in Lookup()
366 Handle<String> source, in TryTablePut()
368 Handle<FixedArray> data) { in TryTablePut()
369 Handle<CompilationCacheTable> table = GetFirstTable(); in TryTablePut()
374 Handle<CompilationCacheTable> CompilationCacheRegExp::TablePut( in TablePut()
375 Handle<String> source, in TablePut()
377 Handle<FixedArray> data) { in TablePut()
384 void CompilationCacheRegExp::Put(Handle<String> source, in Put()
386 Handle<FixedArray> data) { in Put()
392 void CompilationCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove()
401 Handle<SharedFunctionInfo> CompilationCache::LookupScript( in LookupScript()
402 Handle<String> source, in LookupScript()
403 Handle<Object> name, in LookupScript()
407 Handle<Context> context) { in LookupScript()
409 return Handle<SharedFunctionInfo>::null(); in LookupScript()
421 Handle<SharedFunctionInfo> CompilationCache::LookupEval( in LookupEval()
422 Handle<String> source, in LookupEval()
423 Handle<Context> context, in LookupEval()
428 return Handle<SharedFunctionInfo>::null(); in LookupEval()
431 Handle<SharedFunctionInfo> result; in LookupEval()
444 Handle<FixedArray> CompilationCache::LookupRegExp(Handle<String> source, in LookupRegExp()
447 return Handle<FixedArray>::null(); in LookupRegExp()
454 void CompilationCache::PutScript(Handle<String> source, in PutScript()
455 Handle<Context> context, in PutScript()
456 Handle<SharedFunctionInfo> function_info) { in PutScript()
465 void CompilationCache::PutEval(Handle<String> source, in PutEval()
466 Handle<Context> context, in PutEval()
468 Handle<SharedFunctionInfo> function_info, in PutEval()
485 void CompilationCache::PutRegExp(Handle<String> source, in PutRegExp()
487 Handle<FixedArray> data) { in PutRegExp()