Lines Matching refs:Variable
223 Variable* var = (i == -1) ? scope()->receiver() : scope()->parameter(i);
254 Variable* this_function_var = scope()->this_function_var();
264 Variable* new_target_var = scope()->new_target_var();
272 Variable* rest_param = scope()->rest_parameter(&rest_index);
293 Variable* arguments = scope()->arguments();
482 void FullCodeGenerator::StackValueContext::Plug(Variable* var) const {
706 MemOperand FullCodeGenerator::StackOperand(Variable* var) {
720 MemOperand FullCodeGenerator::VarOperand(Variable* var, Register scratch) {
732 void FullCodeGenerator::GetVar(Register dest, Variable* var) {
739 void FullCodeGenerator::SetVar(Variable* var,
781 void FullCodeGenerator::EmitDebugCheckDeclarationContext(Variable* variable) {
782 // The variable in the declaration always resides in the current function
784 DCHECK_EQ(0, scope()->ContextChainLength(variable->scope()));
800 // If it was not possible to allocate the variable at compile time, we
805 Variable* variable = proxy->var();
807 switch (variable->location()) {
810 globals_->Add(variable->name(), zone());
811 globals_->Add(variable->binding_needs_init()
822 __ sd(a4, StackOperand(variable));
829 EmitDebugCheckDeclarationContext(variable);
831 __ sd(at, ContextMemOperand(cp, variable->index()));
839 __ li(a2, Operand(variable->name()));
853 __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
864 Variable* variable = proxy->var();
865 switch (variable->location()) {
868 globals_->Add(variable->name(), zone());
881 __ sd(result_register(), StackOperand(variable));
887 EmitDebugCheckDeclarationContext(variable);
889 __ sd(result_register(), ContextMemOperand(cp, variable->index()));
890 int offset = Context::SlotOffset(variable->index());
906 __ li(a2, Operand(variable->name()));
910 __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
1167 // Update the 'each' property or variable from the possibly filtered
1306 MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
1344 Variable* var = proxy->var();
1349 Variable* local = var->local_if_not_shadowed();
1372 Variable* var = proxy->var();
1388 Variable* var = proxy->var();
1395 Comment cmnt(masm_, "[ Global variable");
1405 Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable"
1406 : "[ Stack variable");
1435 Comment cmnt(masm_, "[ Lookup variable");
1787 case VARIABLE:
1843 // variable/property load.
1847 case VARIABLE:
1894 case VARIABLE:
2428 case VARIABLE: {
2429 Variable* var = expr->AsVariableProxy()->var();
2501 Variable* var, MemOperand location) {
2513 void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
2524 // Non-initializing assignment to let variable needs a write barrier.
2540 // Assignment to const variable needs a write barrier.
4120 Variable* var = proxy->var();
4136 // Non-global variable. Call the runtime to try to delete from the
4137 // context where the variable was introduced.
4145 // Result of deleting non-property, non-variable reference is true.
4227 if (assign_type == VARIABLE) {
4283 case VARIABLE:
4290 if (assign_type == VARIABLE) {
4313 case VARIABLE:
4355 case VARIABLE:
4392 case VARIABLE: