/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 | 477 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/ |
D | bytecode-array-builder.h | 31 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()
|
D | bytecode-array-builder.cc | 21 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/ |
D | instruction.cc | 942 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()
|
D | ast-graph-builder.h | 476 int locals_count() const { return locals_count_; } in locals_count() function
|
D | instruction.h | 1125 size_t parameters_count, size_t locals_count, 1134 size_t locals_count() const { return locals_count_; } in locals_count() function
|
D | code-generator.cc | 655 static_cast<unsigned int>(descriptor->locals_count() + 1)); in BuildTranslationForFrameStateDescriptor()
|
D | ast-graph-builder.cc | 745 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()
|
D | instruction-selector.cc | 451 DCHECK_EQ(descriptor->locals_count(), StateValuesAccess(locals).size()); in AddInputsToFrameStateDescriptor()
|
/external/v8/src/full-codegen/ia32/ |
D | full-codegen-ia32.cc | 119 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/ |
D | full-codegen-x87.cc | 119 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/ |
D | full-codegen-arm64.cc | 135 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/ |
D | full-codegen-x64.cc | 118 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/ |
D | mirrors.js | 2113 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/ |
D | full-codegen-mips64.cc | 138 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/ |
D | full-codegen-arm.cc | 130 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/ |
D | full-codegen-s390.cc | 136 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/ |
D | full-codegen-ppc.cc | 136 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/ |
D | full-codegen-mips.cc | 139 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/ |
D | bytecode-array-builder-unittest.cc | 28 CHECK_EQ(builder.locals_count(), 131); in TEST_F()
|