Home | History | Annotate | Download | only in src

Lines Matching refs:Handle

68 static Handle<CompilationCacheTable> AllocateTable(Isolate* isolate, int size) {
75 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) {
77 Handle<CompilationCacheTable> result;
84 result = Handle<CompilationCacheTable>(table, isolate());
120 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) {
122 // into the caller's handle scope.
125 Handle<CompilationCacheTable> table = GetTable(generation);
143 Handle<SharedFunctionInfo> function_info,
144 Handle<Object> name,
147 Handle<Script> script =
148 Handle<Script>(Script::cast(function_info->script()), isolate());
168 Handle<SharedFunctionInfo> CompilationCacheScript::Lookup(Handle<String> source,
169 Handle<Object> name,
176 // into the caller's handle scope.
179 Handle<CompilationCacheTable> table = GetTable(generation);
180 Handle<Object> probe(table->Lookup(*source), isolate());
182 Handle<SharedFunctionInfo> function_info =
183 Handle<SharedFunctionInfo>::cast(probe);
208 // Once outside the manacles of the handle scope, we need to recheck
210 // handle created in the caller's handle scope.
212 Handle<SharedFunctionInfo> shared(SharedFunctionInfo::cast(result),
222 return Handle<SharedFunctionInfo>::null();
228 Handle<String> source,
229 Handle<SharedFunctionInfo> function_info) {
230 Handle<CompilationCacheTable> table = GetFirstTable();
235 Handle<CompilationCacheTable> CompilationCacheScript::TablePut(
236 Handle<String> source,
237 Handle<SharedFunctionInfo> function_info) {
244 void CompilationCacheScript::Put(Handle<String> source,
245 Handle<SharedFunctionInfo> function_info) {
251 Handle<SharedFunctionInfo> CompilationCacheEval::Lookup(
252 Handle<String> source,
253 Handle<Context> context,
256 // Make sure not to leak the table into the surrounding handle
263 Handle<CompilationCacheTable> table = GetTable(generation);
272 Handle<SharedFunctionInfo>
281 return Handle<SharedFunctionInfo>::null();
287 Handle<String> source,
288 Handle<Context> context,
289 Handle<SharedFunctionInfo> function_info,
291 Handle<CompilationCacheTable> table = GetFirstTable();
296 Handle<CompilationCacheTable> CompilationCacheEval::TablePut(
297 Handle<String> source,
298 Handle<Context> context,
299 Handle<SharedFunctionInfo> function_info,
308 void CompilationCacheEval::Put(Handle<String> source,
309 Handle<Context> context,
310 Handle<SharedFunctionInfo> function_info,
317 Handle<FixedArray> CompilationCacheRegExp::Lookup(Handle<String> source,
319 // Make sure not to leak the table into the surrounding handle
326 Handle<CompilationCacheTable> table = GetTable(generation);
334 Handle<FixedArray> data(FixedArray::cast(result), isolate());
342 return Handle<FixedArray>::null();
348 Handle<String> source,
350 Handle<FixedArray> data) {
351 Handle<CompilationCacheTable> table = GetFirstTable();
356 Handle<CompilationCacheTable> CompilationCacheRegExp::TablePut(
357 Handle<String> source,
359 Handle<FixedArray> data) {
366 void CompilationCacheRegExp::Put(Handle<String> source,
368 Handle<FixedArray> data) {
374 void CompilationCache::Remove(Handle<SharedFunctionInfo> function_info) {
383 Handle<SharedFunctionInfo> CompilationCache::LookupScript(Handle<String> source,
384 Handle<Object> name,
388 return Handle<SharedFunctionInfo>::null();
395 Handle<SharedFunctionInfo> CompilationCache::LookupEval(
396 Handle<String> source,
397 Handle<Context> context,
402 return Handle<SharedFunctionInfo>::null();
405 Handle<SharedFunctionInfo> result;
418 Handle<FixedArray> CompilationCache::LookupRegExp(Handle<String> source,
421 return Handle<FixedArray>::null();
428 void CompilationCache::PutScript(Handle<String> source,
429 Handle<SharedFunctionInfo> function_info) {
438 void CompilationCache::PutEval(Handle<String> source,
439 Handle<Context> context,
441 Handle<SharedFunctionInfo> function_info,
458 void CompilationCache::PutRegExp(Handle<String> source,
460 Handle<FixedArray> data) {