Home | History | Annotate | Download | only in runtime

Lines Matching refs:boilerplate

62   Handle<JSObject> boilerplate =
65 // Normalize the elements of the boilerplate to save space if needed.
66 if (!should_have_fast_elements) JSObject::NormalizeElements(boilerplate);
68 // Add the constant properties to the boilerplate.
71 !is_result_from_cache && boilerplate->HasFastProperties();
75 JSObject::NormalizeProperties(boilerplate, KEEP_INOBJECT_PROPERTIES,
76 length / 2, "Boilerplate");
78 // TODO(verwaest): Support tracking representations in the boilerplate.
98 boilerplate, element_index, value, NONE);
103 boilerplate, name, value, NONE);
109 boilerplate, element_index, value, NONE);
118 maybe_result = JSObject::SetOwnPropertyIgnoreAttributes(boilerplate, name,
121 // If setting the property on the boilerplate throws an
133 JSObject::MigrateSlowToFast(boilerplate,
134 boilerplate->map()->unused_property_fields(),
137 return boilerplate;
245 // Check if boilerplate exists. If not, create it first.
246 Handle<Object> boilerplate(closure->literals()->literal(index), isolate);
247 if (boilerplate->IsUndefined()) {
249 isolate, boilerplate, JSRegExp::New(pattern, JSRegExp::Flags(flags)));
250 closure->literals()->set_literal(index, *boilerplate);
252 return *JSRegExp::Copy(Handle<JSRegExp>::cast(boilerplate));
272 // Check if boilerplate exists. If not, create it first.
275 Handle<JSObject> boilerplate;
283 boilerplate = Handle<JSObject>::cast(raw_boilerplate);
288 isolate, JSObject::DeepWalk(boilerplate, &creation_context));
289 creation_context.ExitScope(site, boilerplate);
291 // Update the functions literal and return the boilerplate.
295 boilerplate =
302 JSObject::DeepCopy(boilerplate, &usage_context);
303 usage_context.ExitScope(site, boilerplate);
313 // Check if boilerplate exists. If not, create it first.
318 Handle<Object> boilerplate;
320 isolate, boilerplate,
327 if (JSObject::DeepWalk(Handle<JSObject>::cast(boilerplate),
331 creation_context.ExitScope(site, Handle<JSObject>::cast(boilerplate));
357 Handle<JSObject> boilerplate(JSObject::cast(site->transition_info()));
364 JSObject::DeepCopy(boilerplate, &usage_context, hints);
365 usage_context.ExitScope(site, boilerplate);
414 JSArray* boilerplate = NULL;
417 boilerplate = JSArray::cast(site->transition_info());
419 boilerplate = JSArray::cast(raw_literal_cell);
421 Handle<JSArray> boilerplate_object(boilerplate);