Lines Matching refs:VariableLocation
970 VariableLocation location; in LookupInScopeInfo()
977 location = VariableLocation::CONTEXT; in LookupInScopeInfo()
984 location = VariableLocation::MODULE; in LookupInScopeInfo()
995 var->AllocateTo(VariableLocation::CONTEXT, index); in LookupInScopeInfo()
1000 if (location == VariableLocation::CONTEXT && in LookupInScopeInfo()
1137 var->AllocateTo(VariableLocation::LOOKUP, -1); in DeclareVariable()
1622 case VariableLocation::UNALLOCATED: in PrintLocation()
1624 case VariableLocation::PARAMETER: in PrintLocation()
1627 case VariableLocation::LOCAL: in PrintLocation()
1630 case VariableLocation::CONTEXT: in PrintLocation()
1633 case VariableLocation::LOOKUP: in PrintLocation()
1636 case VariableLocation::MODULE: in PrintLocation()
1833 var->AllocateTo(VariableLocation::LOOKUP, -1); in NonLocal()
1970 if (var->location() == VariableLocation::MODULE && !var->IsExport()) { in UpdateNeedsHoleCheck()
2028 VariableLocation location = var->location(); in ResolveTo()
2029 DCHECK(location == VariableLocation::LOCAL || in ResolveTo()
2030 location == VariableLocation::CONTEXT || in ResolveTo()
2031 location == VariableLocation::PARAMETER || in ResolveTo()
2032 location == VariableLocation::UNALLOCATED); in ResolveTo()
2132 DCHECK(var->location() != VariableLocation::MODULE); in MustAllocate()
2169 var->AllocateTo(VariableLocation::LOCAL, num_stack_slots_++); in AllocateStackSlot()
2175 var->AllocateTo(VariableLocation::CONTEXT, num_heap_slots_++); in AllocateHeapSlot()
2226 var->AllocateTo(VariableLocation::PARAMETER, index); in AllocateParameter()
2287 var->AllocateTo(VariableLocation::MODULE, it.second->cell_index); in AllocateModuleVariables()
2293 var->AllocateTo(VariableLocation::MODULE, it.second->cell_index); in AllocateModuleVariables()