Lines Matching refs:VariableLocation
39 LocationField::encode(VariableLocation::UNALLOCATED) |
80 location() == VariableLocation::MODULE);
119 return location() == VariableLocation::UNALLOCATED;
121 bool IsParameter() const { return location() == VariableLocation::PARAMETER; }
122 bool IsStackLocal() const { return location() == VariableLocation::LOCAL; }
124 bool IsContextSlot() const { return location() == VariableLocation::CONTEXT; }
125 bool IsLookupSlot() const { return location() == VariableLocation::LOOKUP; }
205 VariableLocation location() const {
219 DCHECK_EQ(location(), VariableLocation::MODULE);
224 void AllocateTo(VariableLocation location, int index) {
227 DCHECK_IMPLIES(location == VariableLocation::MODULE, index != 0);
246 // Rewrites the VariableLocation of repl script scope 'lets' to REPL_GLOBAL.
271 using LocationField = VariableKindField::Next<VariableLocation, 3>;