Home | History | Annotate | Download | only in arm

Lines Matching defs:property

1078   // validity or get the property names in a fixed array.
1164 // Convert the entry to a string or (smi) 0 if it isn't a property
1165 // any more. If the property has been removed while iterating, we
1176 // Update the 'each' property or variable from the possibly filtered
1473 void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) {
1474 Expression* expression = (property == NULL) ? NULL : property->value();
1481 DCHECK(property->kind() == ObjectLiteral::Property::GETTER ||
1482 property->kind() == ObjectLiteral::Property::SETTER);
1483 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3;
1484 EmitSetHomeObject(expression, offset, property->GetSlot());
1515 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1516 if (property->is_computed_name()) break;
1517 if (property->IsCompileTimeValue()) continue;
1519 Literal* key = property->key()->AsLiteral();
1520 Expression* value = property->value();
1525 switch (property->kind()) {
1526 case ObjectLiteral::Property::CONSTANT:
1528 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1529 DCHECK(!CompileTimeValue::IsCompileTimeValue(property->value()));
1531 case ObjectLiteral::Property::COMPUTED:
1535 if (property->emit_store()) {
1540 EmitLoadStoreICSlot(property->GetSlot(0));
1545 EmitSetHomeObjectAccumulator(value, 0, property->GetSlot(1));
1557 if (property->emit_store()) {
1559 EmitSetHomeObject(value, 2, property->GetSlot());
1568 case ObjectLiteral::Property::PROTOTYPE:
1573 DCHECK(property->emit_store());
1579 case ObjectLiteral::Property::GETTER:
1580 if (property->emit_store()) {
1581 accessor_table.lookup(key)->second->getter = property;
1584 case ObjectLiteral::Property::SETTER:
1585 if (property->emit_store()) {
1586 accessor_table.lookup(key)->second->setter = property;
1608 // computed property names, and so we can compute its map ahead of time; see
1610 // starts with the first computed property name, and continues with all
1617 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1619 Expression* value = property->value();
1628 if (property->kind() == ObjectLiteral::Property::PROTOTYPE) {
1629 DCHECK(!property->is_computed_name());
1631 DCHECK(property->emit_store());
1636 EmitPropertyKey(property, expr->GetIdForPropertyName(property_index));
1639 EmitSetHomeObject(value, 2, property->GetSlot());
1642 switch (property->kind()) {
1643 case ObjectLiteral::Property::CONSTANT:
1644 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1645 case ObjectLiteral::Property::COMPUTED:
1646 if (property->emit_store()) {
1655 case ObjectLiteral::Property::PROTOTYPE:
1659 case ObjectLiteral::Property::GETTER:
1665 case ObjectLiteral::Property::SETTER:
1788 Property* property = expr->target()->AsProperty();
1789 LhsKind assign_type = Property::GetAssignType(property);
1799 VisitForStackValue(property->obj());
1802 VisitForStackValue(property->obj());
1807 property->obj()->AsSuperPropertyReference()->this_var());
1809 property->obj()->AsSuperPropertyReference()->home_object());
1820 property->obj()->AsSuperPropertyReference()->this_var());
1822 property->obj()->AsSuperPropertyReference()->home_object());
1823 VisitForAccumulatorValue(property->key());
1836 VisitForStackValue(property->obj());
1837 VisitForStackValue(property->key());
1842 VisitForStackValue(property->obj());
1843 VisitForStackValue(property->key());
1849 // variable/property load.
1858 EmitNamedPropertyLoad(property);
1859 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1862 EmitNamedSuperPropertyLoad(property);
1863 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1866 EmitKeyedSuperPropertyLoad(property);
1867 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1870 EmitKeyedPropertyLoad(property);
1871 PrepareForBailoutForId(property->LoadId(), TOS_REG);
1910 EmitNamedSuperPropertyStore(property);
1914 EmitKeyedSuperPropertyStore(property);
2213 void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) {
2225 void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) {
2238 void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) {
2247 void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) {
2362 ObjectLiteral::Property* property = lit->properties()->at(i);
2363 Expression* value = property->value();
2365 if (property->is_static()) {
2371 EmitPropertyKey(property, lit->GetIdForProperty(i));
2373 // The static prototype property is read only. We handle the non computed
2374 // property name case in the parser. Since this is the only case where we
2375 // need to check for an own read only property we special case this so we do
2376 // not need to do this for every property.
2377 if (property->is_static() && property->is_computed_name()) {
2384 EmitSetHomeObject(value, 2, property->GetSlot());
2387 switch (property->kind()) {
2388 case ObjectLiteral::Property::CONSTANT:
2389 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
2390 case ObjectLiteral::Property::PROTOTYPE:
2392 case ObjectLiteral::Property::COMPUTED:
2396 case ObjectLiteral::Property::GETTER:
2402 case ObjectLiteral::Property::SETTER:
2434 Property* prop = expr->AsProperty();
2435 LhsKind assign_type = Property::GetAssignType(prop);
2630 // Assignment to a property, using a named store IC.
2631 Property* prop = expr->target()->AsProperty();
2646 void FullCodeGenerator::EmitNamedSuperPropertyStore(Property* prop) {
2647 // Assignment to named property of super.
2661 void FullCodeGenerator::EmitKeyedSuperPropertyStore(Property* prop) {
2662 // Assignment to named property of super.
2675 // Assignment to a property, using a keyed store IC.
2689 void FullCodeGenerator::VisitProperty(Property* expr) {
2690 Comment cmnt(masm_, "[ Property");
2773 Property* prop = callee->AsProperty();
2837 Property* prop = callee->AsProperty();
4096 Property* property = expr->expression()->AsProperty();
4099 if (property != NULL) {
4100 VisitForStackValue(property->obj());
4101 VisitForStackValue(property->key());
4132 // Result of deleting non-property, non-variable reference is true.
4210 Property* prop = expr->expression()->AsProperty();
4211 LhsKind assign_type = Property::GetAssignType(prop);
4278 // in case evaluating the property load my have a side effect.
4297 // Save the result on the stack. If we have a named or keyed property
4336 // Save the result on the stack. If we have a named or keyed property