Lines Matching refs:property
572 // For a global variable we build the property reference
573 // <global>.<variable> and perform a (regular non-contextual) property
577 Property property(&global, &key, RelocInfo::kNoPosition);
578 Reference ref(this, &property);
681 Property* property = e->AsProperty();
684 if (property != NULL) {
685 // The expression is either a property or a variable proxy that rewrites
686 // to a property.
687 Load(property->obj());
688 if (property->key()->IsPropertyName()) {
691 Load(property->key());
696 // property. Global variables are treated as named property references.
1074 // Result is always a number. Smi property of inputs is preserved.
3540 // validity or get the property names in a fixed array.
3581 // Call the runtime to get the property names for the object.
3657 // Convert the entry to a string (or null if it isn't a property anymore).
3663 // If the property has been removed while iterating, we just skip it.
3680 // If the reference was to a slot we rely on the convenient property
4332 // property case was inlined. Ensure that there is not a test eax
4597 ObjectLiteral::Property* property = node->properties()->at(i);
4598 switch (property->kind()) {
4599 case ObjectLiteral::Property::CONSTANT:
4601 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
4602 if (CompileTimeValue::IsCompileTimeValue(property->value())) break;
4604 case ObjectLiteral::Property::COMPUTED: {
4605 property->key()->handle());
4609 Load(property->value());
4616 case ObjectLiteral::Property::PROTOTYPE: {
4619 Load(property->key());
4620 Load(property->value());
4625 case ObjectLiteral::Property::SETTER: {
4628 Load(property->key());
4630 Load(property->value());
4635 case ObjectLiteral::Property::GETTER: {
4638 Load(property->key());
4640 Load(property->value());
4685 // If value is a literal the property value is already set in the
4688 // If value is a materialized literal the property value is already set
4692 // The property must be set by generated code.
4695 // Get the property value off the stack.
4775 Comment cmnt(masm(), "[ Named Property Assignment");
4777 Property* prop = node->target()->AsProperty();
4875 Comment cmnt(masm_, "[ Named Property Assignment");
4876 Property* prop = node->target()->AsProperty();
4943 Property* prop = node->target()->AsProperty();
4950 // Properties whose keys are property names and global variables are
4951 // treated as named property references. We do not need to consider
4957 // uses arguments) are keyed property assignments.
4981 void CodeGenerator::VisitProperty(Property* node) {
4982 Comment cmnt(masm_, "[ Property");
4983 Reference property(this, node);
4984 property.GetValue();
4994 // Check if the function is a variable or a property.
4996 Property* property = function->AsProperty();
5114 } else if (property != NULL) {
5116 Literal* literal = property->key()->AsLiteral();
5132 CallApplyLazy(property->obj(),
5139 Load(property->obj());
5164 // Load the function to call from the property through a reference.
5167 if (property->is_synthetic()) {
5168 Reference ref(this, property);
5173 Load(property->obj());
5175 Load(property->key());
5900 Property* property = node->expression()->AsProperty();
5901 if (property != NULL) {
5902 Load(property->obj());
5903 Load(property->key());
6622 // that the inobject property case was inlined.
6754 // Do not inline the inobject property case for loads from the global
6759 Comment cmnt(masm(), "[ Load from named Property");
6767 // property case was inlined. Ensure that there is not a test eax
6771 // Inline the inobject property case.
6772 Comment cmnt(masm(), "[ Inlined named property load");
6834 Comment cmnt(masm_, "[ Inlined load from keyed Property");
6900 Comment cmnt(masm_, "[ Load from keyed Property");
6922 Comment cmnt(masm(), "[ Inlined store to keyed Property");
7017 Property* property = expression_->AsProperty();
7018 if (property == NULL) {
7019 // Global variable reference treated as a named property reference.
7025 Literal* raw_name = property->key()->AsLiteral();
7038 // Record the source position for the property load.
7039 Property* property = expression_->AsProperty();
7040 if (property != NULL) {
7041 cgen_->CodeForSourcePosition(property->position());
7135 Comment cmnt(masm, "[ Store to named Property");
7143 Comment cmnt(masm, "[ Store to keyed Property");
7144 Property* property = expression()->AsProperty();
7145 ASSERT(property != NULL);
7146 Result answer = cgen_->EmitKeyedStore(property->key()->type());
8972 // Setup the callee in-object property.
8977 // Get the length (smi tagged) and set that as an in-object property too.