Home | History | Annotate | Download | only in arm

Lines Matching defs:VARIABLE

192   Variable* arguments = scope()->arguments();
218 Variable* arguments_shadow = scope()->arguments_shadow();
242 EmitDeclaration(scope()->function(), Variable::CONST, NULL);
685 void FullCodeGenerator::EmitDeclaration(Variable* variable,
686 Variable::Mode mode,
689 ASSERT(variable != NULL); // Must have been resolved.
690 Slot* slot = variable->AsSlot();
691 Property* prop = variable->AsProperty();
697 if (mode == Variable::CONST) {
710 // The variable in the decl always resides in the current function
712 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
719 if (mode == Variable::CONST) {
734 __ mov(r2, Operand(variable->name()));
736 ASSERT(mode == Variable::VAR ||
737 mode == Variable::CONST);
739 (mode == Variable::VAR) ? NONE : READ_ONLY;
745 if (mode == Variable::CONST) {
762 if (function != NULL || mode == Variable::CONST) {
1046 // Update the 'each' property or variable from the possibly filtered
1156 if (slot->var()->mode() == Variable::DYNAMIC_GLOBAL) {
1159 } else if (slot->var()->mode() == Variable::DYNAMIC_LOCAL) {
1165 if (potential_slot->var()->mode() == Variable::CONST) {
1260 void FullCodeGenerator::EmitVariableLoad(Variable* var) {
1268 Comment cmnt(masm_, "Global variable");
1269 // Use inline caching. Variable name is passed in r2 and the global
1297 if (var->mode() == Variable::CONST) {
1315 Variable* object_var = property->obj()->AsVariableProxy()->AsVariable();
1574 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
1575 LhsKind assign_type = VARIABLE;
1585 case VARIABLE:
1625 // variable/property load.
1629 case VARIABLE:
1674 case VARIABLE:
1826 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
1827 LhsKind assign_type = VARIABLE;
1836 case VARIABLE: {
1837 Variable* var = expr->AsVariableProxy()->var();
1883 void FullCodeGenerator::EmitVariableAssignment(Variable* var,
1892 // Assignment to a global variable. Use inline caching for the
1893 // assignment. Right-hand-side value is passed in r0, variable name in
1943 } else if (var->mode() != Variable::CONST) {
2203 Variable* var = fun->AsVariableProxy()->AsVariable();
2228 if (var->AsSlot() != NULL && var->mode() == Variable::DYNAMIC_GLOBAL) {
2271 // Call to a lookup slot (dynamically introduced variable).
3677 Variable* var = expr->expression()->AsVariableProxy()->AsVariable();
3709 // Non-global variable. Call the runtime to try to delete from the
3710 // context where the variable was introduced.
3718 // Result of deleting non-property, non-variable reference is true.
3840 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
3841 LhsKind assign_type = VARIABLE;
3851 if (assign_type == VARIABLE) {
3884 if (assign_type == VARIABLE) {
3904 case VARIABLE:
3945 case VARIABLE:
4008 Comment cmnt(masm_, "Global variable");