Home | History | Annotate | Download | only in ia32

Lines Matching refs:Property

959   // property names in a fixed array. Note: Proxies never have an enum cache,
1039 // Convert the entry to a string or null if it isn't a property
1040 // anymore. If the property has been removed while iterating, we
1050 // Update the 'each' property or variable from the possibly filtered
1295 void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) {
1296 Expression* expression = (property == NULL) ? NULL : property->value();
1302 DCHECK(property->kind() == ObjectLiteral::Property::GETTER ||
1303 property->kind() == ObjectLiteral::Property::SETTER);
1304 int offset = property->kind() == ObjectLiteral::Property::GETTER ? 2 : 3;
1305 EmitSetHomeObject(expression, offset, property->GetSlot());
1342 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1343 if (property->is_computed_name()) break;
1344 if (property->IsCompileTimeValue()) continue;
1346 Literal* key = property->key()->AsLiteral();
1347 Expression* value = property->value();
1352 switch (property->kind()) {
1353 case ObjectLiteral::Property::CONSTANT:
1355 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1358 case ObjectLiteral::Property::COMPUTED:
1362 if (property->emit_store()) {
1367 EmitLoadStoreICSlot(property->GetSlot(0));
1371 EmitSetHomeObjectAccumulator(value, 0, property->GetSlot(1));
1381 if (property->emit_store()) {
1383 EmitSetHomeObject(value, 2, property->GetSlot());
1391 case ObjectLiteral::Property::PROTOTYPE:
1394 DCHECK(property->emit_store());
1399 case ObjectLiteral::Property::GETTER:
1400 if (property->emit_store()) {
1403 it->second->getter = property;
1406 case ObjectLiteral::Property::SETTER:
1407 if (property->emit_store()) {
1410 it->second->setter = property;
1433 // computed property names, and so we can compute its map ahead of time; see
1435 // starts with the first computed property name, and continues with all
1442 ObjectLiteral::Property* property = expr->properties()->at(property_index);
1444 Expression* value = property->value();
1452 if (property->kind() == ObjectLiteral::Property::PROTOTYPE) {
1453 DCHECK(!property->is_computed_name());
1455 DCHECK(property->emit_store());
1460 EmitPropertyKey(property, expr->GetIdForPropertyName(property_index));
1463 EmitSetHomeObject(value, 2, property->GetSlot());
1466 switch (property->kind()) {
1467 case ObjectLiteral::Property::CONSTANT:
1468 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1469 case ObjectLiteral::Property::COMPUTED:
1470 if (property->emit_store()) {
1472 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1481 case ObjectLiteral::Property::PROTOTYPE:
1485 case ObjectLiteral::Property::GETTER:
1490 case ObjectLiteral::Property::SETTER:
1601 Property* property = expr->target()->AsProperty();
1602 LhsKind assign_type = Property::GetAssignType(property);
1611 property->obj()->AsSuperPropertyReference()->this_var());
1613 property->obj()->AsSuperPropertyReference()->home_object());
1623 VisitForStackValue(property->obj());
1626 VisitForStackValue(property->obj());
1631 property->obj()->AsSuperPropertyReference()->this_var());
1633 property->obj()->AsSuperPropertyReference()->home_object());
1634 VisitForAccumulatorValue(property->key());
1644 VisitForStackValue(property->obj());
1645 VisitForStackValue(property->key());
1649 VisitForStackValue(property->obj());
1650 VisitForStackValue(property->key());
1657 // variable/property load.
1667 EmitNamedSuperPropertyLoad(property);
1668 PrepareForBailoutForId(property->LoadId(),
1672 EmitNamedPropertyLoad(property);
1673 PrepareForBailoutForId(property->LoadId(),
1677 EmitKeyedSuperPropertyLoad(property);
1678 PrepareForBailoutForId(property->LoadId(),
1682 EmitKeyedPropertyLoad(property);
1683 PrepareForBailoutForId(property->LoadId(),
1722 EmitNamedSuperPropertyStore(property);
1726 EmitKeyedSuperPropertyStore(property);
1927 ObjectLiteral::Property* property = lit->properties()->at(i);
1928 Expression* value = property->value();
1930 if (property->is_static()) {
1935 EmitPropertyKey(property, lit->GetIdForProperty(i));
1937 // The static prototype property is read only. We handle the non computed
1938 // property name case in the parser. Since this is the only case where we
1939 // need to check for an own read only property we special case this so we do
1940 // not need to do this for every property.
1941 if (property->is_static() && property->is_computed_name()) {
1948 EmitSetHomeObject(value, 2, property->GetSlot());
1951 switch (property->kind()) {
1952 case ObjectLiteral::Property::CONSTANT:
1953 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1954 case ObjectLiteral::Property::PROTOTYPE:
1956 case ObjectLiteral::Property::COMPUTED:
1958 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1962 case ObjectLiteral::Property::GETTER:
1967 case ObjectLiteral::Property::SETTER:
1990 Property* prop = expr->AsProperty();
1991 LhsKind assign_type = Property::GetAssignType(prop);
2163 // Assignment to a property, using a named store IC.
2166 Property* prop = expr->target()->AsProperty();
2179 void FullCodeGenerator::EmitNamedSuperPropertyStore(Property* prop) {
2180 // Assignment to named property of super.
2195 void FullCodeGenerator::EmitKeyedSuperPropertyStore(Property* prop) {
2196 // Assignment to named property of super.
2208 // Assignment to a property, using a keyed store IC.
2269 Property* prop = callee->AsProperty();
2328 Property* prop = callee->AsProperty();
2973 Property* property = expr->expression()->AsProperty();
2976 if (property != NULL) {
2977 VisitForStackValue(property->obj());
2978 VisitForStackValue(property->key());
3008 // Result of deleting non-property, non-variable reference is true.
3095 Property* prop = expr->expression()->AsProperty();
3096 LhsKind assign_type = Property::GetAssignType(prop);
3157 // in case evaluating the property load my have a side effect.
3174 // Save the result on the stack. If we have a named or keyed property
3220 // Save the result on the stack. If we have a named or keyed property