Home | History | Annotate | Download | only in ia32

Lines Matching refs:variable

213           Variable* par = scope()->parameter(i);
360 // a constant variable that is constant because it is read-only
361 // (such as the variable referring to a named function expression).
570 Variable* variable = expr->AsVariableProxy()->AsVariable();
571 if (variable != NULL && !variable->is_this() && variable->is_global()) {
572 // For a global variable we build the property reference
573 // <global>.<variable> and perform a (regular non-contextual) property
575 Slot global(variable, Slot::CONTEXT, Context::GLOBAL_INDEX);
576 Literal key(variable->name());
580 } else if (variable != NULL && variable->slot() != NULL) {
581 // For a variable that rewrites to a slot, we signal it is the immediate
584 LoadFromSlotCheckForArguments(variable->slot(), INSIDE_TYPEOF);
624 Variable* arguments = scope()->arguments()->var();
625 Variable* shadow = scope()->arguments_shadow()->var();
633 // variable named 'arguments'.
682 Variable* var = e->AsVariableProxy()->AsVariable();
685 // The expression is either a property or a variable proxy that rewrites
695 // The expression is a variable proxy that does not rewrite to a
2489 // from the stack. This also deals with cases where a local variable
2727 Variable* var = node->proxy()->var();
2731 // If it was not possible to allocate the variable at compile time,
2736 // during variable resolution and must have mode DYNAMIC.
2744 ASSERT(node->mode() == Variable::VAR || node->mode() == Variable::CONST);
2745 PropertyAttributes attr = node->mode() == Variable::VAR ? NONE : READ_ONLY;
2751 if (node->mode() == Variable::CONST) {
2765 // If we have a function or a constant, we need to initialize the variable.
2767 if (node->mode() == Variable::CONST) {
3730 // Store the caught exception in the catch variable.
3731 Variable* catch_var = node->catch_var()->var();
4141 if (slot->var()->mode() == Variable::DYNAMIC_GLOBAL) {
4147 } else if (slot->var()->mode() == Variable::DYNAMIC_LOCAL) {
4161 if (potential_slot->var()->mode() == Variable::CONST) {
4190 } else if (slot->var()->mode() == Variable::CONST) {
4361 // code (sigh...) and the const variable may have been used before
4371 // Storing a variable must keep the (new) value on the expression
4381 ASSERT(slot->var()->mode() == Variable::CONST);
4396 // We must execute the store. Storing a variable must keep the (new)
4401 // Variable::CONST because of const declarations which will initialize
4446 Variable* var = node->var();
4725 // assign the exception value to the catch variable.
4739 Comment cmnt(masm(), "[ Variable Assignment");
4740 Variable* var = node->target()->AsVariableProxy()->AsVariable();
4762 if (var->mode() != Variable::CONST || node->op() == Token::INIT_CONST) {
4776 Variable* var = node->target()->AsVariableProxy()->AsVariable();
4839 ASSERT(var == NULL || var->mode() != Variable::CONST);
4942 Variable* var = node->target()->AsVariableProxy()->AsVariable();
4994 // Check if the function is a variable or a property.
4995 Variable* var = function->AsVariableProxy()->AsVariable();
5909 Variable* variable = node->expression()->AsVariableProxy()->AsVariable();
5910 if (variable != NULL) {
5911 Slot* slot = variable->slot();
5912 if (variable->is_global()) {
5914 frame_->Push(variable->name());
5922 // variable. Sync the virtual frame eagerly so we can push the
5926 frame_->EmitPush(Immediate(variable->name()));
5931 frame_->EmitPush(Immediate(variable->name()));
6128 Variable* var = node->expression()->AsVariableProxy()->AsVariable();
6129 bool is_const = (var != NULL && var->mode() == Variable::CONST);
7019 // Global variable reference treated as a named property reference.
7057 Variable* var = expression_->AsVariableProxy()->AsVariable();
7098 slot->var()->mode() == Variable::CONST ||
9941 // Retrieve the pending exception and clear the variable.