Lines Matching refs:boilerplate

48   Handle<JSObject> boilerplate =
51 // Normalize the elements of the boilerplate to save space if needed.
52 if (!should_have_fast_elements) JSObject::NormalizeElements(boilerplate);
54 // Add the constant properties to the boilerplate.
57 !is_result_from_cache && boilerplate->HasFastProperties();
61 JSObject::NormalizeProperties(boilerplate, KEEP_INOBJECT_PROPERTIES, length,
64 // TODO(verwaest): Support tracking representations in the boilerplate.
69 // The value contains the boilerplate properties of a
71 Handle<BoilerplateDescription> boilerplate =
75 CreateLiteralBoilerplate(isolate, vector, boilerplate), Object);
85 boilerplate, element_index, value, NONE);
89 maybe_result = JSObject::SetOwnPropertyIgnoreAttributes(boilerplate, name,
100 JSObject::MigrateSlowToFast(boilerplate,
101 boilerplate->map()->unused_property_fields(),
104 return boilerplate;
158 // The value contains the boilerplate properties of a
160 Handle<BoilerplateDescription> boilerplate(
165 CreateLiteralBoilerplate(isolate, vector, boilerplate),
215 // Check if boilerplate exists. If not, create it first.
216 Handle<Object> boilerplate(closure->feedback_vector()->Get(literal_slot),
218 if (boilerplate->IsUndefined(isolate)) {
220 isolate, boilerplate, JSRegExp::New(pattern, JSRegExp::Flags(flags)));
221 closure->feedback_vector()->Set(literal_slot, *boilerplate);
223 return *JSRegExp::Copy(Handle<JSRegExp>::cast(boilerplate));
242 // Check if boilerplate exists. If not, create it first.
245 Handle<JSObject> boilerplate;
252 boilerplate = Handle<JSObject>::cast(raw_boilerplate);
257 isolate, JSObject::DeepWalk(boilerplate, &creation_context));
258 creation_context.ExitScope(site, boilerplate);
260 // Update the functions literal and return the boilerplate.
264 boilerplate =
271 JSObject::DeepCopy(boilerplate, &usage_context);
272 usage_context.ExitScope(site, boilerplate);
279 // Check if boilerplate exists. If not, create it first.
283 Handle<Object> boilerplate;
285 isolate, boilerplate,
291 if (JSObject::DeepWalk(Handle<JSObject>::cast(boilerplate),
295 creation_context.ExitScope(site, Handle<JSObject>::cast(boilerplate));
316 Handle<JSObject> boilerplate(JSObject::cast(site->transition_info()));
323 JSObject::DeepCopy(boilerplate, &usage_context, hints);
324 usage_context.ExitScope(site, boilerplate);