Home | History | Annotate | Download | only in x87

Lines Matching refs:Property

951   // property names in a fixed array. Note: Proxies never have an enum cache,
1031 // Convert the entry to a string or null if it isn't a property
1032 // anymore. If the property has been removed while iterating, we
1042 // Update the 'each' property or variable from the possibly filtered
1287 void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) {
1288 Expression* expression = (property == NULL) ? NULL : property->value();
1294 DCHECK(property->kind() == ObjectLiteral::Property::GETTER ||
1295 property->kind() == ObjectLiteral::Property::SETTER);
1296 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3;
1297 EmitSetHomeObject(expression, offset, property->GetSlot());
1334 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1335 if (property->is_computed_name()) break;
1336 if (property->IsCompileTimeValue()) continue;
1338 Literal* key = property->key()->AsLiteral();
1339 Expression* value = property->value();
1344 switch (property->kind()) {
1345 case ObjectLiteral::Property::CONSTANT:
1347 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1350 case ObjectLiteral::Property::COMPUTED:
1354 if (property->emit_store()) {
1359 EmitLoadStoreICSlot(property->GetSlot(0));
1363 EmitSetHomeObjectAccumulator(value, 0, property->GetSlot(1));
1373 if (property->emit_store()) {
1375 EmitSetHomeObject(value, 2, property->GetSlot());
1383 case ObjectLiteral::Property::PROTOTYPE:
1386 DCHECK(property->emit_store());
1391 case ObjectLiteral::Property::GETTER:
1392 if (property->emit_store()) {
1395 it->second->getter = property;
1398 case ObjectLiteral::Property::SETTER:
1399 if (property->emit_store()) {
1402 it->second->setter = property;
1425 // computed property names, and so we can compute its map ahead of time; see
1427 // starts with the first computed property name, and continues with all
1434 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1436 Expression* value = property->value();
1444 if (property->kind() == ObjectLiteral::Property::PROTOTYPE) {
1445 DCHECK(!property->is_computed_name());
1447 DCHECK(property->emit_store());
1452 EmitPropertyKey(property, expr->GetIdForPropertyName(property_index));
1455 EmitSetHomeObject(value, 2, property->GetSlot());
1458 switch (property->kind()) {
1459 case ObjectLiteral::Property::CONSTANT:
1460 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1461 case ObjectLiteral::Property::COMPUTED:
1462 if (property->emit_store()) {
1464 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1473 case ObjectLiteral::Property::PROTOTYPE:
1477 case ObjectLiteral::Property::GETTER:
1482 case ObjectLiteral::Property::SETTER:
1593 Property* property = expr->target()->AsProperty();
1594 LhsKind assign_type = Property::GetAssignType(property);
1603 property->obj()->AsSuperPropertyReference()->this_var());
1605 property->obj()->AsSuperPropertyReference()->home_object());
1615 VisitForStackValue(property->obj());
1618 VisitForStackValue(property->obj());
1623 property->obj()->AsSuperPropertyReference()->this_var());
1625 property->obj()->AsSuperPropertyReference()->home_object());
1626 VisitForAccumulatorValue(property->key());
1636 VisitForStackValue(property->obj());
1637 VisitForStackValue(property->key());
1641 VisitForStackValue(property->obj());
1642 VisitForStackValue(property->key());
1649 // variable/property load.
1659 EmitNamedSuperPropertyLoad(property);
1660 PrepareForBailoutForId(property->LoadId(),
1664 EmitNamedPropertyLoad(property);
1665 PrepareForBailoutForId(property->LoadId(),
1669 EmitKeyedSuperPropertyLoad(property);
1670 PrepareForBailoutForId(property->LoadId(),
1674 EmitKeyedPropertyLoad(property);
1675 PrepareForBailoutForId(property->LoadId(),
1714 EmitNamedSuperPropertyStore(property);
1718 EmitKeyedSuperPropertyStore(property);
1919 ObjectLiteral::Property* property = lit->properties()->at(i);
1920 Expression* value = property->value();
1922 if (property->is_static()) {
1927 EmitPropertyKey(property, lit->GetIdForProperty(i));
1929 // The static prototype property is read only. We handle the non computed
1930 // property name case in the parser. Since this is the only case where we
1931 // need to check for an own read only property we special case this so we do
1932 // not need to do this for every property.
1933 if (property->is_static() && property->is_computed_name()) {
1940 EmitSetHomeObject(value, 2, property->GetSlot());
1943 switch (property->kind()) {
1944 case ObjectLiteral::Property::CONSTANT:
1945 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1946 case ObjectLiteral::Property::PROTOTYPE:
1948 case ObjectLiteral::Property::COMPUTED:
1950 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1954 case ObjectLiteral::Property::GETTER:
1959 case ObjectLiteral::Property::SETTER:
1982 Property* prop = expr->AsProperty();
1983 LhsKind assign_type = Property::GetAssignType(prop);
2155 // Assignment to a property, using a named store IC.
2158 Property* prop = expr->target()->AsProperty();
2171 void FullCodeGenerator::EmitNamedSuperPropertyStore(Property* prop) {
2172 // Assignment to named property of super.
2187 void FullCodeGenerator::EmitKeyedSuperPropertyStore(Property* prop) {
2188 // Assignment to named property of super.
2200 // Assignment to a property, using a keyed store IC.
2261 Property* prop = callee->AsProperty();
2320 Property* prop = callee->AsProperty();
2965 Property* property = expr->expression()->AsProperty();
2968 if (property != NULL) {
2969 VisitForStackValue(property->obj());
2970 VisitForStackValue(property->key());
3000 // Result of deleting non-property, non-variable reference is true.
3087 Property* prop = expr->expression()->AsProperty();
3088 LhsKind assign_type = Property::GetAssignType(prop);
3149 // in case evaluating the property load my have a side effect.
3166 // Save the result on the stack. If we have a named or keyed property
3212 // Save the result on the stack. If we have a named or keyed property