Home | History | Annotate | Download | only in crankshaft

Lines Matching defs:constructor

1955   // Determine the proper global constructor function required to wrap
1981 // Load the constructor function index from the {receiver} map.
1986 // Check if {receiver} has a constructor (null and undefined have no
1996 // Use the global constructor function.
2007 // Grab the constructor function index.
2013 // Determine the initial map for the global constructor.
2014 HValue* constructor = Add<HLoadKeyed>(native_context, constructor_index,
2017 constructor, nullptr, HObjectAccess::ForPrototypeOrInitialMap());
3088 // constructor for the initial state relies on function_state_ == NULL
3312 // Each "Setup..." method is like a constructor for a cycle state.
3635 // The AstContext constructor pushed on the context stack. This newed
9743 // Checks whether allocation using the given constructor can be inlined.
9744 static bool IsAllocationInlineable(Handle<JSFunction> constructor) {
9745 return constructor->has_initial_map() &&
9746 !IsDerivedConstructor(constructor->shared()->kind()) &&
9747 constructor->initial_map()->instance_type() == JS_OBJECT_TYPE &&
9748 constructor->initial_map()->instance_size() <
9757 int argument_count = expr->arguments()->length() + 1; // Plus constructor.
9760 // The constructor function is on the stack in the unoptimized code
9775 Handle<JSFunction> constructor = expr->target();
9777 constructor->shared()->construct_stub() ==
9779 constructor->shared()->construct_stub() ==
9781 HValue* check = Add<HCheckValue>(function, constructor);
9785 constructor->CompleteInobjectSlackTrackingIfActive();
9787 // Calculate instance size from initial map of constructor.
9788 DCHECK(constructor->has_initial_map());
9789 Handle<Map> initial_map(constructor->initial_map());
9817 // Replace the constructor function with a newly allocated receiver using
9825 // this code is deoptimized whenever the initial map of the constructor
9843 // The constructor function is both an operand to the instruction and an
11262 // (i.e. we constructed at least one instance using the constructor
12660 // Create artificial constructor stub environment. The receiver should
12661 // actually be the constructor function, but we pass the newly allocated