Lines Matching defs:fun
3665 MaybeObject* Heap::AllocateInitialMap(JSFunction* fun) {
3666 ASSERT(!fun->has_initial_map());
3670 int instance_size = fun->shared()->CalculateInstanceSize();
3671 int in_object_properties = fun->shared()->CalculateInObjectProperties();
3679 if (fun->has_instance_prototype()) {
3680 prototype = fun->instance_prototype();
3682 { MaybeObject* maybe_prototype = AllocateFunctionPrototype(fun);
3698 if (fun->shared()->CanGenerateInlineConstructor(prototype)) {
3699 int count = fun->shared()->this_property_assignments_count();
3702 fun->shared()->ForbidInlineConstructor();
3712 String* name = fun->shared()->GetThisPropertyAssignmentName(i);
3726 fun->shared()->ForbidInlineConstructor();
3735 fun->shared()->StartInobjectSlackTracking(map);