Lines Matching refs:boilerplate
2929 HValue* HGraphBuilder::BuildCloneShallowArrayCow(HValue* boilerplate, in BuildCloneShallowArrayCow() argument
2935 HValue* map = AddLoadMap(boilerplate); in BuildCloneShallowArrayCow()
2936 HValue* elements = AddLoadElements(boilerplate); in BuildCloneShallowArrayCow()
2937 HValue* length = AddLoadArrayLength(boilerplate, kind); in BuildCloneShallowArrayCow()
2950 HValue* HGraphBuilder::BuildCloneShallowArrayEmpty(HValue* boilerplate, in BuildCloneShallowArrayEmpty() argument
2955 HValue* map = AddLoadMap(boilerplate); in BuildCloneShallowArrayEmpty()
2968 HValue* HGraphBuilder::BuildCloneShallowArrayNonEmpty(HValue* boilerplate, in BuildCloneShallowArrayNonEmpty() argument
2972 HValue* boilerplate_elements = AddLoadElements(boilerplate); in BuildCloneShallowArrayNonEmpty()
2984 boilerplate, allocation_site, mode); in BuildCloneShallowArrayNonEmpty()
3002 boilerplate_elements = AddLoadElements(boilerplate); in BuildCloneShallowArrayNonEmpty()
3014 HValue* length = AddLoadArrayLength(boilerplate, kind); in BuildCloneShallowArrayNonEmpty()
5475 static bool IsFastLiteral(Handle<JSObject> boilerplate, in IsFastLiteral() argument
5478 if (boilerplate->map()->is_deprecated() && in IsFastLiteral()
5479 !JSObject::TryMigrateInstance(boilerplate)) { in IsFastLiteral()
5486 Isolate* isolate = boilerplate->GetIsolate(); in IsFastLiteral()
5487 Handle<FixedArrayBase> elements(boilerplate->elements()); in IsFastLiteral()
5490 if (boilerplate->HasFastObjectElements()) { in IsFastLiteral()
5505 } else if (!boilerplate->HasFastDoubleElements()) { in IsFastLiteral()
5510 Handle<FixedArray> properties(boilerplate->properties()); in IsFastLiteral()
5515 boilerplate->map()->instance_descriptors()); in IsFastLiteral()
5516 int limit = boilerplate->map()->NumberOfOwnDescriptors(); in IsFastLiteral()
5522 Handle<Object> value(boilerplate->InObjectPropertyAt(index), isolate); in IsFastLiteral()
5550 Handle<JSObject> boilerplate; in VisitObjectLiteral() local
5554 boilerplate = Handle<JSObject>(JSObject::cast(site->transition_info()), in VisitObjectLiteral()
5558 if (!boilerplate.is_null() && in VisitObjectLiteral()
5559 IsFastLiteral(boilerplate, kMaxFastLiteralDepth, &max_properties)) { in VisitObjectLiteral()
5562 literal = BuildFastLiteral(boilerplate, &usage_context); in VisitObjectLiteral()
5563 usage_context.ExitScope(site, boilerplate); in VisitObjectLiteral()