Home
last modified time | relevance | path

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

/external/v8/test/unittests/compiler/
Dliveness-analyzer-unittest.cc24 explicit LivenessAnalysisTest(int locals_count = 4) in LivenessAnalysisTest() argument
25 : locals_count_(locals_count), in LivenessAnalysisTest()
30 analyzer_(locals_count, zone()), in LivenessAnalysisTest()
83 int locals_count, Node* replacement) in CheckpointMatcher() argument
86 locals_count_(locals_count), in CheckpointMatcher()
173 static int intconst_from_bailout_id(int ast_num, int locals_count) { in intconst_from_bailout_id() argument
174 return (locals_count + 1) * ast_num + 1; in intconst_from_bailout_id()
Dinstruction-selector-unittest.cc477 EXPECT_EQ(1u, desc_before->locals_count()); in TARGET_TEST_F()
589 EXPECT_EQ(1u, desc_before_outer->locals_count()); in TARGET_TEST_F()
604 EXPECT_EQ(1u, desc_before->locals_count()); in TARGET_TEST_F()
/external/v8/src/interpreter/
Dbytecode-array-builder.h31 int context_count, int locals_count,
43 int locals_count() const { in locals_count() function
58 int fixed_register_count() const { return context_count() + locals_count(); } in fixed_register_count()
Dbytecode-array-builder.cc21 int context_count, int locals_count, in BytecodeArrayBuilder() argument
30 local_register_count_(locals_count), in BytecodeArrayBuilder()
74 return reg.is_parameter() || reg.index() < locals_count(); in RegisterIsParameterOrLocal()
/external/v8/src/compiler/
Dinstruction.cc942 size_t locals_count, size_t stack_count, in FrameStateDescriptor() argument
949 locals_count_(locals_count), in FrameStateDescriptor()
957 size_t size = 1 + parameters_count() + locals_count() + stack_count() + in GetSize()
Dast-graph-builder.h476 int locals_count() const { return locals_count_; } in locals_count() function
Dinstruction.h1125 size_t parameters_count, size_t locals_count,
1134 size_t locals_count() const { return locals_count_; } in locals_count() function
Dcode-generator.cc655 static_cast<unsigned int>(descriptor->locals_count() + 1)); in BuildTranslationForFrameStateDescriptor()
Dast-graph-builder.cc745 values()->insert(values()->end(), locals_count(), undefined_constant); in Environment()
902 UpdateStateValuesWithCache(&locals_node_, parameters_count(), locals_count()); in Checkpoint()
903 UpdateStateValues(&stack_node_, parameters_count() + locals_count(), in Checkpoint()
Dinstruction-selector.cc451 DCHECK_EQ(descriptor->locals_count(), StateValuesAccess(locals).size()); in AddInputsToFrameStateDescriptor()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc119 int locals_count = info->scope()->num_stack_slots(); in Generate() local
121 DCHECK(!IsGeneratorFunction(literal()->kind()) || locals_count == 0); in Generate()
122 OperandStackDepthIncrement(locals_count); in Generate()
123 if (locals_count == 1) { in Generate()
125 } else if (locals_count > 1) { in Generate()
126 if (locals_count >= 128) { in Generate()
129 __ sub(ecx, Immediate(locals_count * kPointerSize)); in Generate()
139 if (locals_count >= kMaxPushes) { in Generate()
140 int loop_iterations = locals_count / kMaxPushes; in Generate()
151 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc119 int locals_count = info->scope()->num_stack_slots(); in Generate() local
121 DCHECK(!IsGeneratorFunction(literal()->kind()) || locals_count == 0); in Generate()
122 OperandStackDepthIncrement(locals_count); in Generate()
123 if (locals_count == 1) { in Generate()
125 } else if (locals_count > 1) { in Generate()
126 if (locals_count >= 128) { in Generate()
129 __ sub(ecx, Immediate(locals_count * kPointerSize)); in Generate()
139 if (locals_count >= kMaxPushes) { in Generate()
140 int loop_iterations = locals_count / kMaxPushes; in Generate()
151 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc135 int locals_count = info->scope()->num_stack_slots(); in Generate() local
137 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
138 OperandStackDepthIncrement(locals_count); in Generate()
139 if (locals_count > 0) { in Generate()
140 if (locals_count >= 128) { in Generate()
143 __ Sub(x10, jssp, locals_count * kPointerSize); in Generate()
151 __ PushMultipleTimes(x10 , locals_count); in Generate()
154 if (locals_count >= kMaxPushes) { in Generate()
155 int loop_iterations = locals_count / kMaxPushes; in Generate()
164 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc118 int locals_count = info->scope()->num_stack_slots(); in Generate() local
120 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
121 OperandStackDepthIncrement(locals_count); in Generate()
122 if (locals_count == 1) { in Generate()
124 } else if (locals_count > 1) { in Generate()
125 if (locals_count >= 128) { in Generate()
128 __ subp(rcx, Immediate(locals_count * kPointerSize)); in Generate()
136 if (locals_count >= kMaxPushes) { in Generate()
137 int loop_iterations = locals_count / kMaxPushes; in Generate()
149 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/debug/
Dmirrors.js2113 var locals_count = this.localCount();
2114 if (locals_count > 0) {
2115 for (var i = 0; i < locals_count; ++i) {
2120 if (i < locals_count - 1) result += '\n';
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc138 int locals_count = info->scope()->num_stack_slots(); in Generate() local
140 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
141 OperandStackDepthIncrement(locals_count); in Generate()
142 if (locals_count > 0) { in Generate()
143 if (locals_count >= 128) { in Generate()
145 __ Dsubu(t1, sp, Operand(locals_count * kPointerSize)); in Generate()
153 if (locals_count >= kMaxPushes) { in Generate()
154 int loop_iterations = locals_count / kMaxPushes; in Generate()
167 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc130 int locals_count = info->scope()->num_stack_slots(); in Generate() local
132 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
133 OperandStackDepthIncrement(locals_count); in Generate()
134 if (locals_count > 0) { in Generate()
135 if (locals_count >= 128) { in Generate()
137 __ sub(r9, sp, Operand(locals_count * kPointerSize)); in Generate()
146 if (locals_count >= kMaxPushes) { in Generate()
147 int loop_iterations = locals_count / kMaxPushes; in Generate()
159 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc136 int locals_count = info->scope()->num_stack_slots(); in Generate() local
138 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
139 OperandStackDepthIncrement(locals_count); in Generate()
140 if (locals_count > 0) { in Generate()
141 if (locals_count >= 128) { in Generate()
143 __ AddP(ip, sp, Operand(-(locals_count * kPointerSize))); in Generate()
152 if (locals_count >= kMaxPushes) { in Generate()
153 int loop_iterations = locals_count / kMaxPushes; in Generate()
166 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc136 int locals_count = info->scope()->num_stack_slots(); in Generate() local
138 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
139 OperandStackDepthIncrement(locals_count); in Generate()
140 if (locals_count > 0) { in Generate()
141 if (locals_count >= 128) { in Generate()
143 __ Add(ip, sp, -(locals_count * kPointerSize), r0); in Generate()
152 if (locals_count >= kMaxPushes) { in Generate()
153 int loop_iterations = locals_count / kMaxPushes; in Generate()
165 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc139 int locals_count = info->scope()->num_stack_slots(); in Generate() local
141 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
142 OperandStackDepthIncrement(locals_count); in Generate()
143 if (locals_count > 0) { in Generate()
144 if (locals_count >= 128) { in Generate()
146 __ Subu(t5, sp, Operand(locals_count * kPointerSize)); in Generate()
154 if (locals_count >= kMaxPushes) { in Generate()
155 int loop_iterations = locals_count / kMaxPushes; in Generate()
168 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/test/unittests/interpreter/
Dbytecode-array-builder-unittest.cc28 CHECK_EQ(builder.locals_count(), 131); in TEST_F()