Lines Matching defs:constant
322 // constant-folding for optimizing property access, but we should
336 // string constant and the addition won't throw due to too long result.
370 // We can constant-fold the super constructor access if the
449 base::Optional<ObjectRef> constant = holder_ref.GetOwnFastDataProperty(
452 if (!constant.has_value() || !constant->IsHeapObject() ||
453 !constant->AsHeapObject().map().is_callable()) {
482 Node* target = jsgraph()->Constant(*constant);
591 // Check if we can constant-fold the prototype chain walk
833 // Note: we rely on the map constant below being the same as what is used in
846 // object can be constant-folded, even without deoptimization support.
860 // Load from constant/undefined global property can be constant-folded.
872 // Load from constant type cell can benefit from type feedback.
1402 // Check if we have a constant receiver.
1423 // Constant-fold "length" property on constant strings.
1873 // constant-fold the load.
1889 // We didn't find a constant element, but if the receiver is a
1920 // For constant Strings we can eagerly strength-reduce the keyed
2149 ObjectRef constant = access_info.constant().value();
2155 map, access_info.name(), constant, PropertyKind::kAccessor);
2159 Node* target = jsgraph()->Constant(constant);
2162 if (constant.IsJSFunction()) {
2179 control, constant.AsFunctionTemplateInfo());
2197 ObjectRef constant = access_info.constant().value();
2198 Node* target = jsgraph()->Constant(constant);
2200 if (constant.IsJSFunction()) {
2213 constant.AsFunctionTemplateInfo());
2302 Node* cell = jsgraph()->Constant(access_info.constant().value().AsCell());
2467 // If the field is constant check that the value we are going
2486 // If the field is constant check that the value we are going
2657 // Check if we can constant-fold information about the {receiver} (e.g.