Lines Matching refs:boilerplate
175 bool IsFastLiteralHelper(Handle<JSObject> boilerplate, int max_depth, in IsFastLiteralHelper() argument
181 if (!JSObject::TryMigrateInstance(boilerplate)) return false; in IsFastLiteralHelper()
187 Isolate* const isolate = boilerplate->GetIsolate(); in IsFastLiteralHelper()
188 Handle<FixedArrayBase> elements(boilerplate->elements(), isolate); in IsFastLiteralHelper()
191 if (boilerplate->HasSmiOrObjectElements()) { in IsFastLiteralHelper()
205 } else if (boilerplate->HasDoubleElements()) { in IsFastLiteralHelper()
213 if (!(boilerplate->HasFastProperties() && in IsFastLiteralHelper()
214 boilerplate->property_array()->length() == 0)) { in IsFastLiteralHelper()
220 boilerplate->map()->instance_descriptors(), isolate); in IsFastLiteralHelper()
221 int limit = boilerplate->map()->NumberOfOwnDescriptors(); in IsFastLiteralHelper()
227 FieldIndex field_index = FieldIndex::ForDescriptor(boilerplate->map(), i); in IsFastLiteralHelper()
228 if (boilerplate->IsUnboxedDoubleField(field_index)) continue; in IsFastLiteralHelper()
229 Handle<Object> value(boilerplate->RawFastPropertyAt(field_index), isolate); in IsFastLiteralHelper()
251 bool IsInlinableFastLiteral(Handle<JSObject> boilerplate) { in IsInlinableFastLiteral() argument
253 return IsFastLiteralHelper(boilerplate, kMaxFastLiteralDepth, in IsInlinableFastLiteral()
269 handle(object_->boilerplate(), broker->isolate()))) { in AllocationSiteData()
270 boilerplate = GET_OR_CREATE(boilerplate)->AsJSObject(); in AllocationSiteData()
281 JSObjectData* boilerplate = nullptr; member in v8::internal::compiler::AllocationSiteData
818 handle(object<AllocationSite>()->boilerplate(), broker()->isolate())); in IsFastLiteral()
820 return data()->AsAllocationSite()->boilerplate != nullptr; in IsFastLiteral()
1153 base::Optional<JSObjectRef> AllocationSiteRef::boilerplate() const { in boilerplate() function in v8::internal::compiler::AllocationSiteRef
1157 return JSObjectRef(broker(), handle(object<AllocationSite>()->boilerplate(), in boilerplate()
1160 JSObjectData* boilerplate = data()->AsAllocationSite()->boilerplate; in boilerplate() local
1161 if (boilerplate) { in boilerplate()
1162 return JSObjectRef(boilerplate); in boilerplate()