5#ifndef V8_OBJECTS_SCOPE_INFO_INL_H_
6#define V8_OBJECTS_SCOPE_INFO_INL_H_
24#include "torque-generated/src/objects/scope-info-tq-inl.inc"
31 return HasSimpleParametersBit::decode(
Flags());
48template <
typename ScopeInfoPtr>
62 if (
range_->inlined())
return *
this;
78 return scope_info()->ContextInlinedLocalName(cage_base,
86 return name(cage_base);
103 return scope_info()->context_local_names_hashtable();
113 if (
table()->IsKey(roots,
key))
break;
126 :
scope_info_->context_local_names_hashtable()->Capacity();
constexpr int as_int() const
Tagged< String > name() const
void advance_hashtable_index()
friend bool operator!=(const Iterator &a, const Iterator &b)
Tagged< NameToIndexHashTable > table() const
Tagged< String > name(PtrComprCageBase cage_base) const
Iterator(const LocalNamesRange *range, InternalIndex index)
const LocalNamesRange * range_
friend bool operator==(const Iterator &a, const Iterator &b)
ScopeInfoPtr scope_info() const
const Iterator * operator*() const
InternalIndex max_index() const
LocalNamesRange(ScopeInfoPtr scope_info)
bool HasSimpleParameters() const
Tagged< DependentCode > dependent_code() const
int ParameterCount() const
static constexpr int OffsetOfElementAt(int index)
int ContextLocalCount() const
bool HasInlinedLocalNames() const
static LocalNamesRange< DirectHandle< ScopeInfo > > IterateLocalNames(DirectHandle< ScopeInfo > scope_info)
V8_EXPORT_PRIVATE base::Vector< Flag > Flags()
ReadOnlyRoots GetReadOnlyRoots()
constexpr int kScopeInfoMaxInlinedLocalNamesSize
V8_INLINE PtrComprCageBase GetPtrComprCageBase()
Tagged< To > Cast(Tagged< From > value, const v8::SourceLocation &loc=INIT_SOURCE_LOCATION_IN_DEBUG)
static constexpr RelaxedLoadTag kRelaxedLoad
#define TQ_OBJECT_CONSTRUCTORS_IMPL(Type)
#define DCHECK_NOT_NULL(val)
#define DCHECK_LT(v1, v2)