Home
last modified time | relevance | path

Searched refs:MIN_CONTEXT_SLOTS (Results 1 – 25 of 46) sorted by relevance

12

/external/v8/src/ast/
Dscopeinfo.cc211 int local_index = var->index() - Context::MIN_CONTEXT_SLOTS; in Create()
325 DCHECK_EQ(Context::MIN_CONTEXT_SLOTS, scope_info->ContextLength()); in CreateForWithScope()
382 const int receiver_index = Context::MIN_CONTEXT_SLOTS + 0; in CreateGlobalThisBinding()
389 DCHECK_EQ(scope_info->ContextLength(), Context::MIN_CONTEXT_SLOTS + 1); in CreateGlobalThisBinding()
449 return Context::MIN_CONTEXT_SLOTS + context_locals + in ContextLength()
684 result = Context::MIN_CONTEXT_SLOTS + var; in ContextSlotIndex()
701 int const var = slot_index - Context::MIN_CONTEXT_SLOTS; in ContextSlotName()
854 PrintList("context slots", Context::MIN_CONTEXT_SLOTS, in Print()
Dscopes.cc219 DCHECK_LE(Context::MIN_CONTEXT_SLOTS, num_heap_slots_); in Scope()
283 num_heap_slots_ = Context::MIN_CONTEXT_SLOTS; in SetDefaults()
1982 DCHECK_EQ(Context::MIN_CONTEXT_SLOTS, num_heap_slots_); in AllocateVariablesRecursively()
2005 if (num_heap_slots_ == Context::MIN_CONTEXT_SLOTS && !must_have_context) { in AllocateVariablesRecursively()
2010 DCHECK(num_heap_slots_ == 0 || num_heap_slots_ >= Context::MIN_CONTEXT_SLOTS); in AllocateVariablesRecursively()
2060 return num_heap_slots() - Context::MIN_CONTEXT_SLOTS - in ContextLocalCount()
/external/v8/src/
Dcontexts.h480 MIN_CONTEXT_SLOTS = GLOBAL_PROXY_INDEX, enumerator
482 THROWN_OBJECT_INDEX = MIN_CONTEXT_SLOTS,
485 WRAPPED_CONTEXT_INDEX = MIN_CONTEXT_SLOTS,
486 WHITE_LIST_INDEX = MIN_CONTEXT_SLOTS + 1
Dpromise-utils.cc15 kAlreadyVisitedSlot = Context::MIN_CONTEXT_SLOTS,
Dfactory.cc892 DCHECK(length >= Context::MIN_CONTEXT_SLOTS); in NewFunctionContext()
908 STATIC_ASSERT(Context::MIN_CONTEXT_SLOTS == Context::THROWN_OBJECT_INDEX); in NewCatchContext()
910 Handle<FixedArray> array = NewFixedArray(Context::MIN_CONTEXT_SLOTS + 1); in NewCatchContext()
926 STATIC_ASSERT(Context::WHITE_LIST_INDEX == Context::MIN_CONTEXT_SLOTS + 1); in NewDebugEvaluateContext()
931 Handle<FixedArray> array = NewFixedArray(Context::MIN_CONTEXT_SLOTS + 2); in NewDebugEvaluateContext()
949 Handle<FixedArray> array = NewFixedArray(Context::MIN_CONTEXT_SLOTS); in NewWithContext()
975 DCHECK_GE(length, Context::MIN_CONTEXT_SLOTS); in NewPromiseResolvingFunctionContext()
Dcontexts.cc315 DCHECK(slot_index < 0 || slot_index >= MIN_CONTEXT_SLOTS); in Lookup()
Dgdb-jit.cc1172 int internal_slots = Context::MIN_CONTEXT_SLOTS; in WriteBodyInternal()
1201 DCHECK(Context::MIN_CONTEXT_SLOTS == 4); in WriteBodyInternal()
1371 int internal_slots = Context::MIN_CONTEXT_SLOTS; in WriteBodyInternal()
Dframes.cc1677 int index = Context::MIN_CONTEXT_SLOTS + i; in Print()
Dcode-stubs.h862 STATIC_ASSERT(((kMaximumSlots + Context::MIN_CONTEXT_SLOTS) * kPointerSize +
Dcode-stubs.cc2654 assembler->Int32Constant(Context::MIN_CONTEXT_SLOTS); in Generate()
/external/v8/src/compiler/
Djs-create-lowering.cc799 STATIC_ASSERT(Context::MIN_CONTEXT_SLOTS == 4); // Ensure fully covered. in ReduceJSCreateFunctionContext()
800 int context_length = slot_count + Context::MIN_CONTEXT_SLOTS; in ReduceJSCreateFunctionContext()
807 for (int i = Context::MIN_CONTEXT_SLOTS; i < context_length; ++i) { in ReduceJSCreateFunctionContext()
835 STATIC_ASSERT(Context::MIN_CONTEXT_SLOTS == 4); // Ensure fully covered. in ReduceJSCreateWithContext()
836 a.AllocateArray(Context::MIN_CONTEXT_SLOTS, factory()->with_context_map()); in ReduceJSCreateWithContext()
867 STATIC_ASSERT(Context::MIN_CONTEXT_SLOTS == 4); // Ensure fully covered. in ReduceJSCreateCatchContext()
868 a.AllocateArray(Context::MIN_CONTEXT_SLOTS + 1, in ReduceJSCreateCatchContext()
897 STATIC_ASSERT(Context::MIN_CONTEXT_SLOTS == 4); // Ensure fully covered. in ReduceJSCreateBlockContext()
904 for (int i = Context::MIN_CONTEXT_SLOTS; i < context_length; ++i) { in ReduceJSCreateBlockContext()
1011 int idx = Context::MIN_CONTEXT_SLOTS + parameter_count - 1 - i; in AllocateAliasedArguments()
/external/v8/src/debug/
Ddebug-scopes.cc776 int context_index = Context::MIN_CONTEXT_SLOTS + i; in CopyContextLocalsToScopeObject()
Dliveedit.cc1906 int context_index = var->index() - Context::MIN_CONTEXT_SLOTS; in SerializeFunctionScope()
/external/v8/src/runtime/
Druntime-scopes.cc476 Smi::FromInt(Context::MIN_CONTEXT_SLOTS + context_index)); in NewSloppyArguments()
/external/v8/src/interpreter/
Dbytecode-generator.cc2933 int slot_count = scope->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in BuildNewLocalActivationContext()
/external/v8/src/profiler/
Dheap-snapshot-generator.cc1205 int idx = Context::MIN_CONTEXT_SLOTS + i; in ExtractContextReferences()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc178 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc178 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc178 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc198 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc199 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc193 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc200 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc190 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc202 int slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS; in Generate()

12