Lines Matching defs:isolate
49 Isolate* isolate = native_context->GetIsolate();
61 new_literals_map = isolate->factory()->NewWeakFixedArray(
65 Handle<WeakFixedArray> old_literals_map(WeakFixedArray::cast(obj), isolate);
87 new_literals_map = isolate->factory()->CopyWeakFixedArrayAndGrow(
188 Handle<Object> AsHandle(Isolate* isolate) {
189 Handle<FixedArray> array = isolate->factory()->NewFixedArray(4);
199 array->set_map(ReadOnlyRoots(isolate).fixed_cow_array_map());
249 LanguageMode language_mode, Isolate* isolate) {
250 src = String::Flatten(isolate, src);
252 InternalIndex entry = table->FindEntry(isolate, &key);
260 return handle(SharedFunctionInfo::cast(obj), isolate);
270 Isolate* isolate = native_context->GetIsolate();
271 src = String::Flatten(isolate, src);
274 InternalIndex entry = table->FindEntry(isolate, &key);
285 return InfoCellPair(isolate, SharedFunctionInfo::cast(obj), feedback_cell);
290 Isolate* isolate = GetIsolate();
293 InternalIndex entry = FindEntry(isolate, &key);
294 if (entry.is_not_found()) return isolate->factory()->undefined_value();
295 return Handle<Object>(get(EntryToIndex(entry) + 1), isolate);
301 Isolate* isolate) {
302 src = String::Flatten(isolate, src);
304 Handle<Object> k = key.AsHandle(isolate);
305 cache = EnsureCapacity(isolate, cache);
306 InternalIndex entry = cache->FindInsertionEntry(isolate, key.Hash());
318 Isolate* isolate = native_context->GetIsolate();
319 src = String::Flatten(isolate, src);
325 Handle<Object> k = key.AsHandle(isolate);
326 InternalIndex entry = cache->FindEntry(isolate, &key);
342 cache = EnsureCapacity(isolate, cache);
343 InternalIndex entry = cache->FindInsertionEntry(isolate, key.Hash());
345 isolate->factory()->NewNumber(static_cast<double>(key.Hash()));
353 Isolate* isolate, Handle<CompilationCacheTable> cache, Handle<String> src,
356 cache = EnsureCapacity(isolate, cache);
357 InternalIndex entry = cache->FindInsertionEntry(isolate, key.Hash());
366 void CompilationCacheTable::Age(Isolate* isolate) {
392 if (info.HasBytecodeArray() && info.GetBytecodeArray(isolate).IsOld()) {