Home | History | Annotate | Download | only in ia32

Lines Matching refs:VARIABLE

213       Variable* var = scope()->parameter(i);
239 Variable* arguments = scope()->arguments();
292 DCHECK(function->proxy()->var()->location() != Variable::UNALLOCATED);
427 void FullCodeGenerator::EffectContext::Plug(Variable* var) const {
432 void FullCodeGenerator::AccumulatorValueContext::Plug(Variable* var) const {
438 void FullCodeGenerator::StackValueContext::Plug(Variable* var) const {
446 void FullCodeGenerator::TestContext::Plug(Variable* var) const {
664 MemOperand FullCodeGenerator::StackOperand(Variable* var) {
678 MemOperand FullCodeGenerator::VarOperand(Variable* var, Register scratch) {
690 void FullCodeGenerator::GetVar(Register dest, Variable* var) {
697 void FullCodeGenerator::SetVar(Variable* var,
737 void FullCodeGenerator::EmitDebugCheckDeclarationContext(Variable* variable) {
738 // The variable in the declaration always resides in the current context.
739 DCHECK_EQ(0, scope()->ContextChainLength(variable->scope()));
753 // If it was not possible to allocate the variable at compile time, we
758 Variable* variable = proxy->var();
760 switch (variable->location()) {
761 case Variable::UNALLOCATED:
762 globals_->Add(variable->name(), zone());
763 globals_->Add(variable->binding_needs_init()
768 case Variable::PARAMETER:
769 case Variable::LOCAL:
772 __ mov(StackOperand(variable),
777 case Variable::CONTEXT:
780 EmitDebugCheckDeclarationContext(variable);
781 __ mov(ContextOperand(esi, variable->index()),
788 case Variable::LOOKUP: {
791 __ push(Immediate(variable->name()));
816 Variable* variable = proxy->var();
817 switch (variable->location()) {
818 case Variable::UNALLOCATED: {
819 globals_->Add(variable->name(), zone());
828 case Variable::PARAMETER:
829 case Variable::LOCAL: {
832 __ mov(StackOperand(variable), result_register());
836 case Variable::CONTEXT: {
838 EmitDebugCheckDeclarationContext(variable);
840 __ mov(ContextOperand(esi, variable->index()), result_register());
843 Context::SlotOffset(variable->index()),
853 case Variable::LOOKUP: {
856 __ push(Immediate(variable->name()));
867 Variable* variable = declaration->proxy()->var();
868 DCHECK(variable->location() == Variable::CONTEXT);
869 DCHECK(variable->interface()->IsFrozen());
872 EmitDebugCheckDeclarationContext(variable);
876 __ mov(eax, ContextOperand(eax, variable->interface()->Index()));
880 __ mov(ContextOperand(esi, variable->index()), eax);
883 Context::SlotOffset(variable->index()),
898 Variable* variable = proxy->var();
899 switch (variable->location()) {
900 case Variable::UNALLOCATED:
904 case Variable::CONTEXT: {
906 EmitDebugCheckDeclarationContext(variable);
911 case Variable::PARAMETER:
912 case Variable::LOCAL:
913 case Variable::LOOKUP:
1174 // Update the 'each' property or variable from the possibly filtered
1365 MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
1404 Variable* var = proxy->var();
1409 Variable* local = var->local_if_not_shadowed();
1430 Variable* var = proxy->var();
1435 case Variable::UNALLOCATED: {
1436 Comment cmnt(masm_, "[ Global variable");
1448 case Variable::PARAMETER:
1449 case Variable::LOCAL:
1450 case Variable::CONTEXT: {
1451 Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable"
1452 : "[ Stack variable");
1463 // binding in harmony mode, both the Variable and the VariableProxy have
1466 // the source physically located after the initializer of the variable.
1513 case Variable::LOOKUP: {
1514 Comment cmnt(masm_, "[ Lookup variable");
1819 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
1820 LhsKind assign_type = VARIABLE;
1830 case VARIABLE:
1857 // variable/property load.
1862 case VARIABLE:
1906 case VARIABLE:
2393 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
2394 LhsKind assign_type = VARIABLE;
2403 case VARIABLE: {
2404 Variable* var = expr->AsVariableProxy()->var();
2437 Variable* var, MemOperand location) {
2447 void FullCodeGenerator::EmitVariableAssignment(Variable* var,
2475 // Non-initializing assignment to let variable needs a write barrier.
2776 // Call to a lookup slot (dynamically introduced variable).
4187 Variable* var = proxy->var();
4199 // not really a variable, though we implement it as one. The
4203 // Non-global variable. Call the runtime to try to delete from the
4204 // context where the variable was introduced.
4211 // Result of deleting non-property, non-variable reference is true.
4295 enum LhsKind { VARIABLE, NAMED_PROPERTY, KEYED_PROPERTY };
4296 LhsKind assign_type = VARIABLE;
4306 if (assign_type == VARIABLE) {
4332 if (assign_type == VARIABLE) {
4352 case VARIABLE:
4390 case VARIABLE:
4418 case VARIABLE:
4482 Comment cmnt(masm_, "[ Global variable");