/external/v8/test/unittests/compiler/ |
D | liveness-analyzer-unittest.cc | 24 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()
|
D | instruction-selector-unittest.cc | 479 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/ |
D | bytecode-array-builder.h | 44 int locals_count() const { in locals_count() function 60 int fixed_register_count() const { return context_count() + locals_count(); } in fixed_register_count()
|
D | bytecode-array-builder.cc | 135 return reg.is_parameter() || reg.index() < locals_count(); in RegisterIsParameterOrLocal()
|
/external/v8/test/cctest/interpreter/ |
D | test-interpreter.cc | 366 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/ |
D | instruction.cc | 826 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()
|
D | instruction.h | 1010 size_t parameters_count, size_t locals_count, 1019 size_t locals_count() const { return locals_count_; } in locals_count() function
|
D | ast-graph-builder.h | 459 int locals_count() const { return locals_count_; } in locals_count() function
|
D | code-generator.cc | 586 static_cast<unsigned int>(descriptor->locals_count())); in BuildTranslationForFrameStateDescriptor()
|
D | ast-graph-builder.cc | 708 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()
|
D | instruction-selector.cc | 418 DCHECK_EQ(descriptor->locals_count(), StateValuesAccess(locals).size()); in AddInputsToFrameStateDescriptor()
|
/external/v8/src/debug/ |
D | mirrors.js | 2137 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/ |
D | full-codegen-x87.cc | 126 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/ |
D | full-codegen-arm64.cc | 141 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/ |
D | full-codegen-ia32.cc | 126 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/ |
D | full-codegen-x64.cc | 125 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/ |
D | full-codegen-mips.cc | 146 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/ |
D | full-codegen-arm.cc | 137 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/ |
D | full-codegen-mips64.cc | 145 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/ |
D | full-codegen-ppc.cc | 142 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/ |
D | bytecode-array-builder-unittest.cc | 29 CHECK_EQ(builder.locals_count(), 200); in TEST_F()
|