Home | History | Annotate | Download | only in crankshaft

Lines Matching refs:constructor

2003   // Determine the proper global constructor function required to wrap
2029 // Load the constructor function index from the {receiver} map.
2034 // Check if {receiver} has a constructor (null and undefined have no
2044 // Use the global constructor function.
2055 // Grab the constructor function index.
2061 // Determine the initial map for the global constructor.
2062 HValue* constructor = Add<HLoadKeyed>(native_context, constructor_index,
2065 constructor, nullptr, HObjectAccess::ForPrototypeOrInitialMap());
3133 // constructor for the initial state relies on function_state_ == NULL
3357 // Each "Setup..." method is like a constructor for a cycle state.
3680 // The AstContext constructor pushed on the context stack. This newed
9686 // Checks whether allocation using the given constructor can be inlined.
9687 static bool IsAllocationInlineable(Handle<JSFunction> constructor) {
9688 return constructor->has_initial_map() &&
9689 !IsSubclassConstructor(constructor->shared()->kind()) &&
9690 constructor->initial_map()->instance_type() == JS_OBJECT_TYPE &&
9691 constructor->initial_map()->instance_size() <
9700 int argument_count = expr->arguments()->length() + 1; // Plus constructor.
9703 // The constructor function is on the stack in the unoptimized code
9718 Handle<JSFunction> constructor = expr->target();
9720 constructor->shared()->construct_stub() ==
9722 constructor->shared()->construct_stub() ==
9724 HValue* check = Add<HCheckValue>(function, constructor);
9728 constructor->CompleteInobjectSlackTrackingIfActive();
9730 // Calculate instance size from initial map of constructor.
9731 DCHECK(constructor->has_initial_map());
9732 Handle<Map> initial_map(constructor->initial_map());
9760 // Replace the constructor function with a newly allocated receiver using
9768 // this code is deoptimized whenever the initial map of the constructor
9786 // The constructor function is both an operand to the instruction and an
11210 // (i.e. we constructed at least one instance using the constructor
12643 // Create artificial constructor stub environment. The receiver should
12644 // actually be the constructor function, but we pass the newly allocated