Home | History | Annotate | Download | only in arm

Lines Matching refs:variable

225           Variable* par = scope()->parameter(i);
247 Variable* arguments = scope()->arguments()->var();
248 Variable* shadow = scope()->arguments_shadow()->var();
401 // a constant variable that is constant because it is read-only
402 // (such as the variable referring to a named function expression).
599 Variable* variable = expr->AsVariableProxy()->AsVariable();
600 if (variable != NULL && !variable->is_this() && variable->is_global()) {
601 // For a global variable we build the property reference
602 // <global>.<variable> and perform a (regular non-contextual) property
604 Slot global(variable, Slot::CONTEXT, Context::GLOBAL_INDEX);
605 Literal key(variable->name());
609 } else if (variable != NULL && variable->slot() != NULL) {
610 // For a variable that rewrites to a slot, we signal it is the immediate
612 LoadFromSlot(variable->slot(), INSIDE_TYPEOF);
642 Variable* var = e->AsVariableProxy()->AsVariable();
645 // The expression is either a property or a variable proxy that rewrites
655 // The expression is a variable proxy that does not rewrite to a
1211 Variable* var = node->proxy()->var();
1215 // If it was not possible to allocate the variable at compile time,
1220 // during variable resolution and must have mode DYNAMIC.
1227 ASSERT(node->mode() == Variable::VAR || node->mode() == Variable::CONST);
1228 PropertyAttributes attr = node->mode() == Variable::VAR ? NONE : READ_ONLY;
1235 if (node->mode() == Variable::CONST) {
1252 // If we have a function or a constant, we need to initialize the variable.
1254 if (node->mode() == Variable::CONST) {
2004 // Store the caught exception in the catch variable.
2005 Variable* catch_var = node->catch_var()->var();
2403 if (slot->var()->mode() == Variable::DYNAMIC_GLOBAL) {
2413 } else if (slot->var()->mode() == Variable::DYNAMIC_LOCAL) {
2423 if (potential_slot->var()->mode() == Variable::CONST) {
2453 if (slot->var()->mode() == Variable::CONST) {
2488 // the eval code (sigh...) and the const variable may have been
2498 // Storing a variable must keep the (new) value on the expression
2507 ASSERT(slot->var()->mode() == Variable::CONST);
2518 // We must execute the store. Storing a variable must keep the
2523 // Variable::CONST because of const declarations which will
2636 Variable* var = node->var();
2849 // assign the exception value to the catch variable.
2902 Variable* var = node->target()->AsVariableProxy()->AsVariable();
2904 (var->mode() == Variable::CONST) &&
2912 // and initialize the actual constant declared. Dynamic variable
2964 // Check if the function is a variable or a property.
2965 Variable* var = function->AsVariableProxy()->AsVariable();
3729 Variable* variable = node->expression()->AsVariableProxy()->AsVariable();
3735 } else if (variable != NULL) {
3736 Slot* slot = variable->slot();
3737 if (variable->is_global()) {
3739 __ mov(r0, Operand(variable->name()));
3744 // lookup the context holding the named variable
3746 __ mov(r0, Operand(variable->name()));
3751 __ mov(r0, Operand(variable->name()));
3850 Variable* var = node->expression()->AsVariableProxy()->AsVariable();
3851 bool is_const = (var != NULL && var->mode() == Variable::CONST);
4345 // Global variable reference treated as a named property reference.
4381 Variable* var = expression_->AsVariableProxy()->AsVariable();
4398 Variable* var = expression_->AsVariableProxy()->AsVariable();
6479 // Retrieve the pending exception and clear the variable.