Home | History | Annotate | Download | only in arm64

Lines Matching defs:property

1077   // validity or get the property names in a fixed array.
1158 // Convert the entry to a string or (smi) 0 if it isn't a property
1159 // any more. If the property has been removed while iterating, we
1168 // Update the 'each' property or variable from the possibly filtered
1462 void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) {
1463 Expression* expression = (property == NULL) ? NULL : property->value();
1470 DCHECK(property->kind() == ObjectLiteral::Property::GETTER ||
1471 property->kind() == ObjectLiteral::Property::SETTER);
1472 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3;
1473 EmitSetHomeObject(expression, offset, property->GetSlot());
1504 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1505 if (property->is_computed_name()) break;
1506 if (property->IsCompileTimeValue()) continue;
1508 Literal* key = property->key()->AsLiteral();
1509 Expression* value = property->value();
1514 switch (property->kind()) {
1515 case ObjectLiteral::Property::CONSTANT:
1517 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1518 DCHECK(!CompileTimeValue::IsCompileTimeValue(property->value()));
1520 case ObjectLiteral::Property::COMPUTED:
1524 if (property->emit_store()) {
1529 EmitLoadStoreICSlot(property->GetSlot(0));
1534 EmitSetHomeObjectAccumulator(value, 0, property->GetSlot(1));
1545 if (property->emit_store()) {
1547 EmitSetHomeObject(value, 2, property->GetSlot());
1556 case ObjectLiteral::Property::PROTOTYPE:
1557 DCHECK(property->emit_store());
1566 case ObjectLiteral::Property::GETTER:
1567 if (property->emit_store()) {
1568 accessor_table.lookup(key)->second->getter = property;
1571 case ObjectLiteral::Property::SETTER:
1572 if (property->emit_store()) {
1573 accessor_table.lookup(key)->second->setter = property;
1595 // computed property names, and so we can compute its map ahead of time; see
1597 // starts with the first computed property name, and continues with all
1604 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1606 Expression* value = property->value();
1615 if (property->kind() == ObjectLiteral::Property::PROTOTYPE) {
1616 DCHECK(!property->is_computed_name());
1618 DCHECK(property->emit_store());
1623 EmitPropertyKey(property, expr->GetIdForPropertyName(property_index));
1626 EmitSetHomeObject(value, 2, property->GetSlot());
1629 switch (property->kind()) {
1630 case ObjectLiteral::Property::CONSTANT:
1631 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1632 case ObjectLiteral::Property::COMPUTED:
1633 if (property->emit_store()) {
1642 case ObjectLiteral::Property::PROTOTYPE:
1646 case ObjectLiteral::Property::GETTER:
1652 case ObjectLiteral::Property::SETTER:
1773 Property* property = expr->target()->AsProperty();
1774 LhsKind assign_type = Property::GetAssignType(property);
1784 VisitForStackValue(property->obj());
1787 VisitForStackValue(property->obj());
1792 property->obj()->AsSuperPropertyReference()->this_var());
1794 property->obj()->AsSuperPropertyReference()->home_object());
1804 property->obj()->AsSuperPropertyReference()->this_var());
1806 property->obj()->AsSuperPropertyReference()->home_object());
1807 VisitForAccumulatorValue(property->key());
1819 VisitForStackValue(property->obj());
1820 VisitForStackValue(property->key());
1824 VisitForStackValue(property->obj());
1825 VisitForStackValue(property->key());
1831 // variable/property load.
1840 EmitNamedPropertyLoad(property);
1841 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1844 EmitNamedSuperPropertyLoad(property);
1845 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1848 EmitKeyedSuperPropertyLoad(property);
1849 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1852 EmitKeyedPropertyLoad(property);
1853 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1892 EmitNamedSuperPropertyStore(property);
1896 EmitKeyedSuperPropertyStore(property);
1906 void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) {
1918 void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) {
1931 void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) {
1941 void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) {
2076 ObjectLiteral::Property* property = lit->properties()->at(i);
2077 Expression* value = property->value();
2079 if (property->is_static()) {
2085 EmitPropertyKey(property, lit->GetIdForProperty(i));
2087 // The static prototype property is read only. We handle the non computed
2088 // property name case in the parser. Since this is the only case where we
2089 // need to check for an own read only property we special case this so we do
2090 // not need to do this for every property.
2091 if (property->is_static() && property->is_computed_name()) {
2098 EmitSetHomeObject(value, 2, property->GetSlot());
2101 switch (property->kind()) {
2102 case ObjectLiteral::Property::CONSTANT:
2103 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
2104 case ObjectLiteral::Property::PROTOTYPE:
2106 case ObjectLiteral::Property::COMPUTED:
2110 case ObjectLiteral::Property::GETTER:
2116 case ObjectLiteral::Property::SETTER:
2137 Property* prop = expr->AsProperty();
2138 LhsKind assign_type = Property::GetAssignType(prop);
2334 // Assignment to a property, using a named store IC.
2335 Property* prop = expr->target()->AsProperty();
2350 void FullCodeGenerator::EmitNamedSuperPropertyStore(Property* prop) {
2351 // Assignment to named property of super.
2365 void FullCodeGenerator::EmitKeyedSuperPropertyStore(Property
2366 // Assignment to named property of super.
2380 // Assignment to a property, using a keyed store IC.
2396 void FullCodeGenerator::VisitProperty(Property* expr) {
2397 Comment cmnt(masm_, "[ Property");
2483 Property* prop = callee->AsProperty();
2548 Property* prop = callee->AsProperty();
3807 Property* property = expr->expression()->AsProperty();
3810 if (property != NULL) {
3811 VisitForStackValue(property->obj());
3812 VisitForStackValue(property->key());
3842 // Result of deleting non-property, non-variable reference is true.
3920 Property* prop = expr->expression()->AsProperty();
3921 LhsKind assign_type = Property::GetAssignType(prop);
3984 // in case evaluating the property load my have a side effect.
4003 // Save the result on the stack. If we have a named or keyed property we
4042 // Save the result on the stack. If we have a named or keyed property