Home | History | Annotate | Download | only in ia32

Lines Matching defs:VARIABLE

181   Variable* arguments = scope()->arguments();
205 Variable* arguments_shadow = scope()->arguments_shadow();
228 EmitDeclaration(scope()->function(), Variable::CONST, NULL);
649 void FullCodeGenerator::EmitDeclaration(Variable* variable,
650 Variable::Mode mode,
653 ASSERT(variable != NULL); // Must have been resolved.
654 Slot* slot = variable->AsSlot();
655 Property* prop = variable->AsProperty();
661 if (mode == Variable::CONST) {
674 // The variable in the decl always resides in the current function
676 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
683 if (mode == Variable::CONST) {
698 __ push(Immediate(variable->name()));
700 ASSERT(mode == Variable::VAR || mode == Variable::CONST);
701 PropertyAttributes attr = (mode == Variable::VAR) ? NONE : READ_ONLY;
707 if (mode == Variable::CONST) {
720 if (function != NULL || mode == Variable::CONST) {
993 // Update the 'each' property or variable from the possibly filtered
1162 if (slot->var()->mode() == Variable::DYNAMIC_GLOBAL) {
1165 } else if (slot->var()->mode() == Variable::DYNAMIC_LOCAL) {
1172 if (potential_slot->var()->mode() == Variable::CONST) {
1206 void FullCodeGenerator::EmitVariableLoad(Variable* var) {
1214 Comment cmnt(masm_, "Global variable");
1215 // Use inline caching. Variable name is passed in ecx and the global
1243 if (var->mode() == Variable::CONST) {
1264 Variable* object_var = property->obj()->AsVariableProxy()->AsVariable();
1520 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
1521 LhsKind assign_type = VARIABLE;
1531 case VARIABLE:
1574 // variable/property load.
1578 case VARIABLE:
1623 case VARIABLE:
1770 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
1771 LhsKind assign_type = VARIABLE;
1780 case VARIABLE: {
1781 Variable* var = expr->AsVariableProxy()->var();
1827 void FullCodeGenerator::EmitVariableAssignment(Variable* var,
1836 // Assignment to a global variable. Use inline caching for the
1837 // assignment. Right-hand-side value is passed in eax, variable name in
1884 } else if (var->mode() != Variable::CONST) {
2131 Variable* var = fun->AsVariableProxy()->AsVariable();
2155 if (var->AsSlot() != NULL && var->mode() == Variable::DYNAMIC_GLOBAL) {
2195 // Call to a lookup slot (dynamically introduced variable).
3639 Variable* var = expr->expression()->AsVariableProxy()->AsVariable();
3669 // Non-global variable. Call the runtime to try to delete from the
3670 // context where the variable was introduced.
3677 // Result of deleting non-property, non-variable reference is true.
3799 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
3800 LhsKind assign_type = VARIABLE;
3810 if (assign_type == VARIABLE) {
3843 if (assign_type == VARIABLE) {
3866 case VARIABLE:
3915 case VARIABLE:
3982 Comment cmnt(masm_, "Global variable");