Lines Matching refs:boilerplate
395 Handle<JSObject> boilerplate =
399 // Normalize the elements of the boilerplate to save space if needed.
400 if (!use_fast_elements) JSObject::NormalizeElements(boilerplate);
402 // Add the constant properties to the boilerplate.
404 // TODO(verwaest): Support tracking representations in the boilerplate.
432 JSObject::SetOwnElementIgnoreAttributes(boilerplate, element_index, value,
438 JSObject::SetOwnPropertyIgnoreAttributes(boilerplate, name, value, NONE)
444 // TODO(cbruni): avoid making the boilerplate fast again, the clone stub
447 boilerplate, boilerplate->map().UnusedPropertyFields(), "FastLiteral");
449 return boilerplate;
492 Handle<ArrayBoilerplateDescription> boilerplate(
495 CreateArrayLiteral(isolate, boilerplate, allocation);
501 Handle<ObjectBoilerplateDescription> boilerplate(
504 isolate, boilerplate, boilerplate->flags(), allocation);
542 Handle<JSObject> boilerplate;
546 boilerplate = Handle<JSObject>(site->boilerplate(), isolate);
557 boilerplate = LiteralHelper::Create(isolate, description, flags,
563 RETURN_ON_EXCEPTION(isolate, DeepWalk(boilerplate, &creation_context),
565 creation_context.ExitScope(site, boilerplate);
574 // Copy the existing boilerplate.
577 MaybeHandle<JSObject> copy = DeepCopy(boilerplate, &usage_context);
578 usage_context.ExitScope(site, boilerplate);
653 // We don't have a vector; don't create a boilerplate, simply construct a
664 // This function must not be called when a boilerplate already exists (if it
665 // exists, callers should instead copy the boilerplate into a new JSRegExp
683 Handle<RegExpBoilerplateDescription> boilerplate =
688 vector->SynchronizedSet(literal_slot, *boilerplate);