Lines Matching refs:Variable
207 Variable* var = (i == -1) ? scope()->receiver() : scope()->parameter(i);
237 Variable* this_function_var = scope()->this_function_var();
248 Variable* new_target_var = scope()->new_target_var();
256 Variable* rest_param = scope()->rest_parameter(&rest_index);
276 Variable* arguments = scope()->arguments();
442 void FullCodeGenerator::StackValueContext::Plug(Variable* var) const {
655 MemOperand FullCodeGenerator::StackOperand(Variable* var) {
669 MemOperand FullCodeGenerator::VarOperand(Variable* var, Register scratch) {
681 void FullCodeGenerator::GetVar(Register dest, Variable* var) {
688 void FullCodeGenerator::SetVar(Variable* var,
728 void FullCodeGenerator::EmitDebugCheckDeclarationContext(Variable* variable) {
729 // The variable in the declaration always resides in the current context.
730 DCHECK_EQ(0, scope()->ContextChainLength(variable->scope()));
744 // If it was not possible to allocate the variable at compile time, we
749 Variable* variable = proxy->var();
751 switch (variable->location()) {
754 globals_->Add(variable->name(), zone());
755 globals_->Add(variable->binding_needs_init()
764 __ mov(StackOperand(variable),
772 EmitDebugCheckDeclarationContext(variable);
773 __ mov(ContextOperand(esi, variable->index()),
782 __ push(Immediate(variable->name()));
795 Immediate(Smi::FromInt(variable->DeclarationPropertyAttributes())));
805 Variable* variable = proxy->var();
806 switch (variable->location()) {
809 globals_->Add(variable->name(), zone());
822 __ mov(StackOperand(variable), result_register());
828 EmitDebugCheckDeclarationContext(variable);
830 __ mov(ContextOperand(esi, variable->index()), result_register());
832 __ RecordWriteContextSlot(esi, Context::SlotOffset(variable->index()),
841 __ push(Immediate(variable->name()));
844 Immediate(Smi::FromInt(variable->DeclarationPropertyAttributes())));
1090 // Update the 'each' property or variable from the possibly filtered
1227 MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
1264 Variable* var = proxy->var();
1269 Variable* local = var->local_if_not_shadowed();
1289 Variable* var = proxy->var();
1307 Variable* var = proxy->var();
1314 Comment cmnt(masm_, "[ Global variable");
1324 Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable"
1325 : "[ Stack variable");
1352 Comment cmnt(masm_, "[ Lookup variable");
1697 case VARIABLE:
1748 // variable/property load.
1753 case VARIABLE:
1799 case VARIABLE:
2324 case VARIABLE: {
2325 Variable* var = expr->AsVariableProxy()->var();
2397 Variable* var, MemOperand location) {
2407 void FullCodeGenerator::EmitVariableAssignment(Variable* var, Token::Value op,
2420 // Non-initializing assignment to let variable needs a write barrier.
2434 // Assignment to const variable needs a write barrier.
4018 Variable* var = proxy->var();
4031 // not really a variable, though we implement it as one. The
4035 // Non-global variable. Call the runtime to try to delete from the
4036 // context where the variable was introduced.
4043 // Result of deleting non-property, non-variable reference is true.
4131 if (assign_type == VARIABLE) {
4183 case VARIABLE:
4190 if (assign_type == VARIABLE) {
4210 case VARIABLE:
4257 case VARIABLE:
4293 case VARIABLE: