Home
last modified time | relevance | path

Searched refs:locals_count (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/interpreter/
Dbytecode-array-builder.h37 int locals_count, FunctionLiteral* literal = nullptr, in NON_EXPORTED_BASE()
50 int locals_count() const { in NON_EXPORTED_BASE()
65 int fixed_register_count() const { return context_count() + locals_count(); } in NON_EXPORTED_BASE()
Dbytecode-array-builder.cc21 int locals_count, FunctionLiteral* literal, in BytecodeArrayBuilder() argument
29 local_register_count_(locals_count), in BytecodeArrayBuilder()
/external/v8/src/compiler/
Dinstruction.cc995 size_t locals_count, size_t stack_count, in FrameStateDescriptor() argument
1002 locals_count_(locals_count), in FrameStateDescriptor()
1010 size_t size = 1 + parameters_count() + locals_count() + stack_count() + in GetSize()
Dinstruction.h1158 size_t parameters_count, size_t locals_count,
1167 size_t locals_count() const { return locals_count_; } in locals_count() function
Dast-graph-builder.h480 int locals_count() const { return locals_count_; } in locals_count() function
Dcode-generator.cc760 static_cast<unsigned int>(descriptor->locals_count() + 1)); in BuildTranslationForFrameStateDescriptor()
Dast-graph-builder.cc689 values()->insert(values()->end(), locals_count(), undefined_constant); in Environment()
852 UpdateStateValues(&locals_node_, parameters_count(), locals_count()); in Checkpoint()
853 UpdateStateValues(&stack_node_, parameters_count() + locals_count(), in Checkpoint()
Dinstruction-selector.cc553 DCHECK_EQ(descriptor->locals_count(), StateValuesAccess(locals).size()); in AddInputsToFrameStateDescriptor()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc133 int locals_count = info->scope()->num_stack_slots(); in Generate() local
135 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
136 OperandStackDepthIncrement(locals_count); in Generate()
137 if (locals_count == 1) { in Generate()
139 } else if (locals_count > 1) { in Generate()
140 if (locals_count >= 128) { in Generate()
143 __ subp(rcx, Immediate(locals_count * kPointerSize)); in Generate()
151 if (locals_count >= kMaxPushes) { in Generate()
152 int loop_iterations = locals_count / kMaxPushes; in Generate()
164 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc132 int locals_count = info->scope()->num_stack_slots(); in Generate() local
134 DCHECK(!IsGeneratorFunction(literal()->kind()) || locals_count == 0); in Generate()
135 OperandStackDepthIncrement(locals_count); in Generate()
136 if (locals_count == 1) { in Generate()
138 } else if (locals_count > 1) { in Generate()
139 if (locals_count >= 128) { in Generate()
142 __ sub(ecx, Immediate(locals_count * kPointerSize)); in Generate()
152 if (locals_count >= kMaxPushes) { in Generate()
153 int loop_iterations = locals_count / kMaxPushes; in Generate()
164 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc132 int locals_count = info->scope()->num_stack_slots(); in Generate() local
134 DCHECK(!IsGeneratorFunction(literal()->kind()) || locals_count == 0); in Generate()
135 OperandStackDepthIncrement(locals_count); in Generate()
136 if (locals_count == 1) { in Generate()
138 } else if (locals_count > 1) { in Generate()
139 if (locals_count >= 128) { in Generate()
142 __ sub(ecx, Immediate(locals_count * kPointerSize)); in Generate()
152 if (locals_count >= kMaxPushes) { in Generate()
153 int loop_iterations = locals_count / kMaxPushes; in Generate()
164 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc151 int locals_count = info->scope()->num_stack_slots(); in Generate() local
153 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
154 OperandStackDepthIncrement(locals_count); in Generate()
155 if (locals_count > 0) { in Generate()
156 if (locals_count >= 128) { in Generate()
159 __ Sub(x10, jssp, locals_count * kPointerSize); in Generate()
167 __ PushMultipleTimes(x10 , locals_count); in Generate()
170 if (locals_count >= kMaxPushes) { in Generate()
171 int loop_iterations = locals_count / kMaxPushes; in Generate()
180 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/debug/
Dmirrors.js2148 var locals_count = this.localCount();
2149 if (locals_count > 0) {
2150 for (var i = 0; i < locals_count; ++i) {
2155 if (i < locals_count - 1) result += '\n';
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc154 int locals_count = info->scope()->num_stack_slots(); in Generate() local
156 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
157 OperandStackDepthIncrement(locals_count); in Generate()
158 if (locals_count > 0) { in Generate()
159 if (locals_count >= 128) { in Generate()
161 __ Add(ip, sp, -(locals_count * kPointerSize), r0); in Generate()
170 if (locals_count >= kMaxPushes) { in Generate()
171 int loop_iterations = locals_count / kMaxPushes; in Generate()
183 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc154 int locals_count = info->scope()->num_stack_slots(); in Generate() local
156 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
157 OperandStackDepthIncrement(locals_count); in Generate()
158 if (locals_count > 0) { in Generate()
159 if (locals_count >= 128) { in Generate()
161 __ Dsubu(t1, sp, Operand(locals_count * kPointerSize)); in Generate()
169 if (locals_count >= kMaxPushes) { in Generate()
170 int loop_iterations = locals_count / kMaxPushes; in Generate()
183 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc155 int locals_count = info->scope()->num_stack_slots(); in Generate() local
157 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
158 OperandStackDepthIncrement(locals_count); in Generate()
159 if (locals_count > 0) { in Generate()
160 if (locals_count >= 128) { in Generate()
162 __ Subu(t5, sp, Operand(locals_count * kPointerSize)); in Generate()
170 if (locals_count >= kMaxPushes) { in Generate()
171 int loop_iterations = locals_count / kMaxPushes; in Generate()
184 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc146 int locals_count = info->scope()->num_stack_slots(); in Generate() local
148 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
149 OperandStackDepthIncrement(locals_count); in Generate()
150 if (locals_count > 0) { in Generate()
151 if (locals_count >= 128) { in Generate()
153 __ sub(r9, sp, Operand(locals_count * kPointerSize)); in Generate()
162 if (locals_count >= kMaxPushes) { in Generate()
163 int loop_iterations = locals_count / kMaxPushes; in Generate()
175 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc153 int locals_count = info->scope()->num_stack_slots(); in Generate() local
155 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
156 OperandStackDepthIncrement(locals_count); in Generate()
157 if (locals_count > 0) { in Generate()
158 if (locals_count >= 128) { in Generate()
160 __ AddP(ip, sp, Operand(-(locals_count * kPointerSize))); in Generate()
169 if (locals_count >= kMaxPushes) { in Generate()
170 int loop_iterations = locals_count / kMaxPushes; in Generate()
183 int remaining = locals_count % kMaxPushes; in Generate()