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.cc479 EXPECT_EQ(1u, desc_before->locals_count()); in TARGET_TEST_F()
591 EXPECT_EQ(1u, desc_before_outer->locals_count()); in TARGET_TEST_F()
606 EXPECT_EQ(1u, desc_before->locals_count()); in TARGET_TEST_F()
/external/v8/src/interpreter/
Dbytecode-array-builder.h44 int locals_count() const { in locals_count() function
60 int fixed_register_count() const { return context_count() + locals_count(); } in fixed_register_count()
Dbytecode-array-builder.cc135 return reg.is_parameter() || reg.index() < locals_count(); in RegisterIsParameterOrLocal()
/external/v8/test/cctest/interpreter/
Dtest-interpreter.cc366 for (int locals_count = 2; locals_count < 300; locals_count += 126) { in TEST() local
370 builder.set_locals_count(locals_count); in TEST()
375 Register r1(locals_count - 1); in TEST()
402 for (int locals_count = 2; locals_count < 300; locals_count += 126) { in TEST() local
406 builder.set_locals_count(locals_count); in TEST()
411 Register r1(locals_count - 1); in TEST()
438 for (int locals_count = 3; locals_count < 300; locals_count += 126) { in TEST() local
442 builder.set_locals_count(locals_count); in TEST()
447 Register r1(locals_count - 1); in TEST()
448 Register r2(locals_count - 2); in TEST()
/external/v8/src/compiler/
Dinstruction.cc826 size_t locals_count, size_t stack_count, in FrameStateDescriptor() argument
833 locals_count_(locals_count), in FrameStateDescriptor()
841 size_t size = 1 + parameters_count() + locals_count() + stack_count() + in GetSize()
Dinstruction.h1010 size_t parameters_count, size_t locals_count,
1019 size_t locals_count() const { return locals_count_; } in locals_count() function
Dast-graph-builder.h459 int locals_count() const { return locals_count_; } in locals_count() function
Dcode-generator.cc586 static_cast<unsigned int>(descriptor->locals_count())); in BuildTranslationForFrameStateDescriptor()
Dast-graph-builder.cc708 values()->insert(values()->end(), locals_count(), undefined_constant); in Environment()
865 UpdateStateValuesWithCache(&locals_node_, parameters_count(), locals_count()); in Checkpoint()
866 UpdateStateValues(&stack_node_, parameters_count() + locals_count(), in Checkpoint()
Dinstruction-selector.cc418 DCHECK_EQ(descriptor->locals_count(), StateValuesAccess(locals).size()); in AddInputsToFrameStateDescriptor()
/external/v8/src/debug/
Dmirrors.js2137 var locals_count = this.localCount();
2138 if (locals_count > 0) {
2139 for (var i = 0; i < locals_count; ++i) {
2144 if (i < locals_count - 1) result += '\n';
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc126 int locals_count = info->scope()->num_stack_slots(); in Generate() local
128 DCHECK(!IsGeneratorFunction(literal()->kind()) || locals_count == 0); in Generate()
129 if (locals_count == 1) { in Generate()
131 } else if (locals_count > 1) { in Generate()
132 if (locals_count >= 128) { in Generate()
135 __ sub(ecx, Immediate(locals_count * kPointerSize)); in Generate()
145 if (locals_count >= kMaxPushes) { in Generate()
146 int loop_iterations = locals_count / kMaxPushes; in Generate()
157 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc141 int locals_count = info->scope()->num_stack_slots(); in Generate() local
143 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
145 if (locals_count > 0) { in Generate()
146 if (locals_count >= 128) { in Generate()
149 __ Sub(x10, jssp, locals_count * kPointerSize); in Generate()
157 __ PushMultipleTimes(x10 , locals_count); in Generate()
160 if (locals_count >= kMaxPushes) { in Generate()
161 int loop_iterations = locals_count / kMaxPushes; in Generate()
170 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc126 int locals_count = info->scope()->num_stack_slots(); in Generate() local
128 DCHECK(!IsGeneratorFunction(literal()->kind()) || locals_count == 0); in Generate()
129 if (locals_count == 1) { in Generate()
131 } else if (locals_count > 1) { in Generate()
132 if (locals_count >= 128) { in Generate()
135 __ sub(ecx, Immediate(locals_count * kPointerSize)); in Generate()
145 if (locals_count >= kMaxPushes) { in Generate()
146 int loop_iterations = locals_count / kMaxPushes; in Generate()
157 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc125 int locals_count = info->scope()->num_stack_slots(); in Generate() local
127 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
128 if (locals_count == 1) { in Generate()
130 } else if (locals_count > 1) { in Generate()
131 if (locals_count >= 128) { in Generate()
134 __ subp(rcx, Immediate(locals_count * kPointerSize)); in Generate()
142 if (locals_count >= kMaxPushes) { in Generate()
143 int loop_iterations = locals_count / kMaxPushes; in Generate()
155 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc146 int locals_count = info->scope()->num_stack_slots(); in Generate() local
148 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
149 if (locals_count > 0) { in Generate()
150 if (locals_count >= 128) { in Generate()
152 __ Subu(t5, sp, Operand(locals_count * kPointerSize)); in Generate()
160 if (locals_count >= kMaxPushes) { in Generate()
161 int loop_iterations = locals_count / kMaxPushes; in Generate()
174 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc137 int locals_count = info->scope()->num_stack_slots(); in Generate() local
139 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
140 if (locals_count > 0) { in Generate()
141 if (locals_count >= 128) { in Generate()
143 __ sub(r9, sp, Operand(locals_count * kPointerSize)); 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/mips64/
Dfull-codegen-mips64.cc145 int locals_count = info->scope()->num_stack_slots(); in Generate() local
147 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
148 if (locals_count > 0) { in Generate()
149 if (locals_count >= 128) { in Generate()
151 __ Dsubu(t1, sp, Operand(locals_count * kPointerSize)); in Generate()
159 if (locals_count >= kMaxPushes) { in Generate()
160 int loop_iterations = locals_count / kMaxPushes; in Generate()
173 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc142 int locals_count = info->scope()->num_stack_slots(); in Generate() local
144 DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0); in Generate()
145 if (locals_count > 0) { in Generate()
146 if (locals_count >= 128) { in Generate()
148 __ Add(ip, sp, -(locals_count * kPointerSize), r0); in Generate()
157 if (locals_count >= kMaxPushes) { in Generate()
158 int loop_iterations = locals_count / kMaxPushes; in Generate()
170 int remaining = locals_count % kMaxPushes; in Generate()
/external/v8/test/unittests/interpreter/
Dbytecode-array-builder-unittest.cc29 CHECK_EQ(builder.locals_count(), 200); in TEST_F()