Lines Matching defs:isolate
8 #include "src/execution/isolate.h"
19 Isolate* isolate, Handle<NativeContext> native_context,
27 if (native_context->template_weakmap().IsUndefined(isolate)) {
28 template_weakmap = EphemeronHashTable::New(isolate, 1);
31 ReadOnlyRoots roots(isolate);
33 EphemeronHashTable::cast(native_context->template_weakmap()), isolate);
39 return handle(cached_template.template_object(), isolate);
46 Handle<FixedArray> raw_strings(description->raw_strings(), isolate);
47 Handle<JSArray> raw_object = isolate->factory()->NewJSArrayWithElements(
52 Handle<FixedArray> cooked_strings(description->cooked_strings(), isolate);
53 Handle<JSArray> template_object = isolate->factory()->NewJSArrayWithElements(
66 JSArray::DefineOwnProperty(isolate, template_object,
67 isolate->factory()->raw_string(), &raw_desc,
77 HeapObject::cast(template_weakmap->Lookup(shared_info, hash)), isolate);
79 isolate, slot_id, template_object, previous_cached_templates);
81 isolate, template_weakmap, shared_info, cached_template, hash);
88 Isolate* isolate, int slot_id, Handle<JSArray> template_object,
92 Handle<CachedTemplateObject>::cast(isolate->factory()->NewStruct(