Searched refs:VariableLocation (Results 1 – 9 of 9) sorted by relevance
36 LocationField::encode(VariableLocation::UNALLOCATED) | in scope_()63 location() == VariableLocation::MODULE); in ForceContextAllocation()79 return location() == VariableLocation::UNALLOCATED; in IsUnallocated()81 bool IsParameter() const { return location() == VariableLocation::PARAMETER; } in IsParameter()82 bool IsStackLocal() const { return location() == VariableLocation::LOCAL; } in IsStackLocal()84 bool IsContextSlot() const { return location() == VariableLocation::CONTEXT; } in IsContextSlot()85 bool IsLookupSlot() const { return location() == VariableLocation::LOOKUP; } in IsLookupSlot()150 VariableLocation location() const { in location()164 DCHECK_EQ(location(), VariableLocation::MODULE); in IsExport()169 void AllocateTo(VariableLocation location, int index) { in AllocateTo()[all …]
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()[all …]
1189 case VariableLocation::UNALLOCATED: in VisitVariableProxy()1192 case VariableLocation::PARAMETER: in VisitVariableProxy()1195 case VariableLocation::LOCAL: in VisitVariableProxy()1198 case VariableLocation::CONTEXT: in VisitVariableProxy()1201 case VariableLocation::LOOKUP: in VisitVariableProxy()1204 case VariableLocation::MODULE: in VisitVariableProxy()
609 case VariableLocation::LOOKUP: in VisitLocals()613 case VariableLocation::UNALLOCATED: in VisitLocals()621 case VariableLocation::PARAMETER: { in VisitLocals()646 case VariableLocation::LOCAL: in VisitLocals()676 case VariableLocation::CONTEXT: in VisitLocals()686 case VariableLocation::MODULE: { in VisitLocals()778 case VariableLocation::LOOKUP: in SetLocalVariableValue()779 case VariableLocation::UNALLOCATED: in SetLocalVariableValue()785 case VariableLocation::PARAMETER: { in SetLocalVariableValue()803 case VariableLocation::LOCAL: in SetLocalVariableValue()[all …]
1129 if (generator_object_var->location() == VariableLocation::LOCAL) { in AllocateTopLevelRegisters()1139 if (new_target_var->location() == VariableLocation::LOCAL) { in AllocateTopLevelRegisters()1187 case VariableLocation::UNALLOCATED: { in VisitVariableDeclaration()1194 case VariableLocation::LOCAL: in VisitVariableDeclaration()1200 case VariableLocation::PARAMETER: in VisitVariableDeclaration()1206 case VariableLocation::CONTEXT: in VisitVariableDeclaration()1213 case VariableLocation::LOOKUP: { in VisitVariableDeclaration()1225 case VariableLocation::MODULE: in VisitVariableDeclaration()1240 case VariableLocation::UNALLOCATED: { in VisitFunctionDeclaration()1249 case VariableLocation::PARAMETER: in VisitFunctionDeclaration()[all …]
74 case VariableLocation::CONTEXT: in Create()77 case VariableLocation::MODULE: in Create()199 case VariableLocation::CONTEXT: { in Create()215 case VariableLocation::MODULE: { in Create()245 if (parameter->location() != VariableLocation::CONTEXT) continue; in Create()
258 VariableLocation* location, InitializationFlag* init_flag,
1023 enum VariableLocation : uint8_t { enum
578 var->AllocateTo(VariableLocation::PARAMETER, 0); in DoParseProgram()