Searched refs:context_length (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/snapshot/ |
D | snapshot-common.cc | 177 int context_length = context_data.length(); in CreateSnapshotBlob() local 180 int length = context_offset + context_length; in CreateSnapshotBlob() 188 memcpy(data + context_offset, context_data.begin(), context_length); in CreateSnapshotBlob() 196 startup_length, context_length); in CreateSnapshotBlob() 228 int context_length = data->raw_size - context_offset; in ExtractContextData() local 229 return Vector<const byte>(context_data, context_length); in ExtractContextData()
|
/external/v8/src/full-codegen/ |
D | full-codegen.h | 130 virtual NestedStatement* Exit(int* stack_depth, int* context_length) { in Exit() argument 194 NestedStatement* Exit(int* stack_depth, int* context_length) override { in Exit() argument 197 if (block_scope->ContextLocalCount() > 0) ++(*context_length); in Exit() 210 NestedStatement* Exit(int* stack_depth, int* context_length) override { in Exit() argument 229 NestedStatement* Exit(int* stack_depth, int* context_length) override; 246 NestedStatement* Exit(int* stack_depth, int* context_length) override { in Exit() argument 265 NestedStatement* Exit(int* stack_depth, int* context_length) override { in Exit() argument 283 NestedStatement* Exit(int* stack_depth, int* context_length) override { in Exit() argument 284 ++(*context_length); in Exit()
|
D | full-codegen.cc | 852 int context_length = 0; in VisitContinueStatement() local 859 current = current->Exit(&stack_depth, &context_length); in VisitContinueStatement() 862 if (context_length > 0) { in VisitContinueStatement() 863 while (context_length > 0) { in VisitContinueStatement() 865 --context_length; in VisitContinueStatement() 880 int context_length = 0; in VisitBreakStatement() local 887 current = current->Exit(&stack_depth, &context_length); in VisitBreakStatement() 890 if (context_length > 0) { in VisitBreakStatement() 891 while (context_length > 0) { in VisitBreakStatement() 893 --context_length; in VisitBreakStatement() [all …]
|
/external/v8/src/compiler/ |
D | js-typed-lowering.cc | 1961 int context_length = slot_count + Context::MIN_CONTEXT_SLOTS; in ReduceJSCreateFunctionContext() local 1962 a.AllocateArray(context_length, factory()->function_context_map()); in ReduceJSCreateFunctionContext() 1968 for (int i = Context::MIN_CONTEXT_SLOTS; i < context_length; ++i) { in ReduceJSCreateFunctionContext() 2049 int context_length = scope_info->ContextLength(); in ReduceJSCreateBlockContext() local 2053 if (context_length < kBlockContextAllocationLimit) { in ReduceJSCreateBlockContext() 2064 a.AllocateArray(context_length, factory()->block_context_map()); in ReduceJSCreateBlockContext() 2070 for (int i = Context::MIN_CONTEXT_SLOTS; i < context_length; ++i) { in ReduceJSCreateBlockContext()
|
D | ast-graph-builder.cc | 199 int context_length() const { return context_length_; } in context_length() function in v8::internal::compiler::BASE_EMBEDDED 972 environment()->TrimContextChain(current->context_length()); in PerformCommand()
|