Home | History | Annotate | Download | only in x64

Lines Matching defs:variable

365           Variable* par = scope()->parameter(i);
710 // from the stack. This also deals with cases where a local variable
931 Variable* var = node->proxy()->var();
935 // If it was not possible to allocate the variable at compile time,
940 // during variable resolution and must have mode DYNAMIC.
949 ASSERT(node->mode() == Variable::VAR || node->mode() == Variable::CONST);
950 PropertyAttributes attr = node->mode() == Variable::VAR ? NONE : READ_ONLY;
956 if (node->mode() == Variable::CONST) {
970 // If we have a function or a constant, we need to initialize the variable.
972 if (node->mode() == Variable::CONST) {
1905 // Store the caught exception in the catch variable.
1906 Variable* catch_var = node->catch_var()->var();
2318 Variable* var = node->var();
2565 // assign the exception value to the catch variable.
2585 Variable* var = node->target()->AsVariableProxy()->AsVariable();
2625 Variable* right_var = node->value()->AsVariableProxy()->AsVariable();
2628 // or the right hand side is a different variable. TakeValue invalidates
2643 var->mode() == Variable::CONST &&
2651 // and initialize the actual constant declared. Dynamic variable
2694 // Check if the function is a variable or a property.
2696 Variable* var = function->AsVariableProxy()->AsVariable();
3003 Variable* variable = node->expression()->AsVariableProxy()->AsVariable();
3004 if (variable != NULL) {
3005 Slot* slot = variable->slot();
3006 if (variable->is_global()) {
3008 frame_->Push(variable->name());
3016 // variable. Sync the virtual frame eagerly so we can push the
3020 frame_->EmitPush(variable->name());
3025 frame_->EmitPush(variable->name());
3212 Variable* var = node->expression()->AsVariableProxy()->AsVariable();
3213 bool is_const = (var != NULL && var->mode() == Variable::CONST);
4402 Variable* var = e->AsVariableProxy()->AsVariable();
4405 // The expression is either a property or a variable proxy that rewrites
4415 // The expression is a variable proxy that does not rewrite to a
4444 // a constant variable that is constant because it is read-only
4445 // (such as the variable referring to a named function expression).
4534 if (slot->var()->mode() == Variable::DYNAMIC_GLOBAL) {
4544 } else if (slot->var()->mode() == Variable::DYNAMIC_LOCAL) {
4558 if (potential_slot->var()->mode() == Variable::CONST) {
4588 } else if (slot->var()->mode() == Variable::CONST) {
4686 // code (sigh...) and the const variable may have been used before
4696 // Storing a variable must keep the (new) value on the expression
4705 ASSERT(slot->var()->mode() == Variable::CONST);
4720 // We must execute the store. Storing a variable must keep the (new)
4725 // Variable::CONST because of const declarations which will initialize
4886 Variable* arguments = scope()->arguments()->var();
4887 Variable* shadow = scope()->arguments_shadow()->var();
4895 // has a local variable named 'arguments'.
4919 Variable* variable = expr->AsVariableProxy()->AsVariable();
4920 if (variable != NULL && !variable->is_this() && variable->is_global()) {
4921 // For a global variable we build the property reference
4922 // <global>.<variable> and perform a (regular non-contextual) property
4924 Slot global(variable, Slot::CONTEXT, Context::GLOBAL_INDEX);
4925 Literal key(variable->name());
4929 } else if (variable != NULL && variable->slot() != NULL) {
4930 // For a variable that rewrites to a slot, we signal it is the immediate
4932 LoadFromSlotCheckForArguments(variable->slot(), INSIDE_TYPEOF);
6002 // Global variable reference treated as a named property reference.
6037 Variable* var = expression_->AsVariableProxy()->AsVariable();
6119 Variable* var = expression_->AsVariableProxy()->AsVariable();
6155 slot->var()->mode() == Variable::CONST ||
7779 // Retrieve the pending exception and clear the variable.