Home | History | Annotate | Download | only in src

Lines Matching refs:boilerplate

250   Handle<JSObject> boilerplate =
253 // Normalize the elements of the boilerplate to save space if needed.
254 if (!should_have_fast_elements) JSObject::NormalizeElements(boilerplate);
256 // Add the constant properties to the boilerplate.
259 !is_result_from_cache && boilerplate->HasFastProperties();
264 boilerplate, KEEP_INOBJECT_PROPERTIES, length / 2);
266 // TODO(verwaest): Support tracking representations in the boilerplate.
286 JSObject::SetOwnElement(boilerplate, element_index, value, SLOPPY);
291 boilerplate, name, value, NONE);
297 JSObject::SetOwnElement(boilerplate, element_index, value, SLOPPY);
306 maybe_result = JSObject::SetOwnPropertyIgnoreAttributes(boilerplate, name,
309 // If setting the property on the boilerplate throws an
322 boilerplate, boilerplate->map()->unused_property_fields());
325 return boilerplate;
465 // Check if boilerplate exists. If not, create it first.
468 Handle<JSObject> boilerplate;
479 boilerplate = Handle<JSObject>::cast(raw_boilerplate);
485 JSObject::DeepWalk(boilerplate, &creation_context));
486 creation_context.ExitScope(site, boilerplate);
488 // Update the functions literal and return the boilerplate.
492 boilerplate = Handle<JSObject>(JSObject::cast(site->transition_info()),
499 boilerplate, &usage_context);
500 usage_context.ExitScope(site, boilerplate);
512 // Check if boilerplate exists. If not, create it first.
517 Handle<Object> boilerplate;
519 isolate, boilerplate,
525 if (JSObject::DeepWalk(Handle<JSObject>::cast(boilerplate),
529 creation_context.ExitScope(site, Handle<JSObject>::cast(boilerplate));
554 Handle<JSObject> boilerplate(JSObject::cast(site->transition_info()));
560 MaybeHandle<JSObject> copy = JSObject::DeepCopy(boilerplate, &usage_context,
562 usage_context.ExitScope(site, boilerplate);
5496 JSArray* boilerplate = NULL;
5499 boilerplate = JSArray::cast(site->transition_info());
5501 boilerplate = JSArray::cast(raw_literal_cell);
5503 Handle<JSArray> boilerplate_object(boilerplate);