Lines Matching full:frame_index
125 int frame_index = 0;
127 FrameDescription* frame = output_[frame_index];
131 frame_index++;
134 return frame_index - 1;
182 int frame_index = deoptimizer->ConvertJSFrameIndexToFrameIndex(jsframe_index);
185 frame_index > 0 &&
186 deoptimizer->output_[frame_index - 1]->GetFrameType() ==
191 frame_index >= construct_offset &&
192 deoptimizer->output_[frame_index - construct_offset]->GetFrameType() ==
196 frame_index,
206 frame_index, info->parameters_count(), info->expression_count(), info);
760 int frame_index = static_cast<int>(i);
763 DoComputeJSFrame(frame_index);
767 DoComputeInterpretedFrame(frame_index);
771 DoComputeArgumentsAdaptorFrame(frame_index);
774 DoComputeConstructStubFrame(frame_index);
777 DoComputeAccessorStubFrame(frame_index, false);
780 DoComputeAccessorStubFrame(frame_index, true);
783 DoComputeCompiledStubFrame(frame_index);
813 void Deoptimizer::DoComputeJSFrame(int frame_index) {
815 &(translated_state_.frames()[frame_index]);
844 bool is_bottommost = (0 == frame_index);
845 bool is_topmost = (output_count_ - 1 == frame_index);
846 CHECK(frame_index >= 0 && frame_index < output_count_);
847 CHECK_NULL(output_[frame_index]);
848 output_[frame_index] = output_frame;
870 top_address = output_[frame_index - 1]->GetTop() - output_frame_size;
881 WriteTranslatedValueToOutput(&value_iterator, &input_index, frame_index,
900 value = output_[frame_index - 1]->GetPc();
903 DebugPrintOutputSlot(value, frame_index
914 value = output_[frame_index - 1]->GetFp();
922 DebugPrintOutputSlot(value, frame_index, output_offset, "caller's fp\n");
935 value = output_[frame_index - 1]->GetConstantPool();
938 DebugPrintOutputSlot(value, frame_index, output_offset,
962 WriteValueToOutput(context, input_index, frame_index, output_offset,
966 reinterpret_cast<Address>(output_[frame_index]->GetTop()) +
980 WriteValueToOutput(function, 0, frame_index, output_offset, "function ");
985 WriteTranslatedValueToOutput(&value_iterator, &input_index, frame_index,
1033 void Deoptimizer::DoComputeInterpretedFrame(int frame_index) {
1035 &(translated_state_.frames()[frame_index]);
1063 bool is_bottommost = (0 == frame_index);
1064 bool is_topmost = (output_count_ - 1 == frame_index);
1065 CHECK(frame_index >= 0 && frame_index < output_count_);
1066 CHECK_NULL(output_[frame_index]);
1067 output_[frame_index] = output_frame;
1082 top_address = output_[frame_index - 1]->GetTop() - output_frame_size;
1093 WriteTranslatedValueToOutput(&value_iterator, &input_index, frame_index,
1113 value = output_[frame_index - 1]->GetPc();
1116 DebugPrintOutputSlot(value, frame_index, output_offset, "caller's pc\n");
1127 value = output_[frame_index - 1]->GetFp();
1136 DebugPrintOutputSlot(value, frame_index, output_offset, "caller's fp\n");
1149 value = output_[frame_index - 1]->GetConstantPool();
1152 DebugPrintOutputSlot(value, frame_index, output_offset,
1169 WriteValueToOutput(context, input_index, frame_index, output_offset,
1181 WriteValueToOutput(function, 0, frame_index, output_offset, "function ");
1188 WriteValueToOutput(new_target, 0, frame_index, output_offset, "new_target ");
1196 WriteValueToOutput(smi_bytecode_offset, 0, frame_index, output_offset,
1202 WriteTranslatedValueToOutput(&value_iterator, &input_index, frame_index,
1249 void Deoptimizer::DoComputeArgumentsAdaptorFrame(int frame_index) {
1251 &(translated_state_.frames()[frame_index]);
1274 CHECK(frame_index > 0 && frame_index < output_count_ - 1);
1275 CHECK(output_[frame_index] == NULL);
1276 output_[frame_index] = output_frame;
1281 top_address = output_[frame_index - 1]->GetTop() - output_frame_size;
1289 WriteTranslatedValueToOutput(&value_iterator, &input_index, frame_index,
1295 intptr_t callers_pc = output_[frame_index - 1]->GetPc();
1297 DebugPrintOutputSlot(callers_pc, frame_index, output_offset, "caller's pc\n");
1301 intptr_t value = output_[frame_index - 1]->GetFp();
1305 DebugPrintOutputSlot(value, frame_index, output_offset, "caller's fp\n");
1310 value = output_[frame_index - 1]->GetConstantPool();
1312 DebugPrintOutputSlot(value, frame_index, output_offset,
1321 DebugPrintOutputSlot(context, frame_index, output_offset,
1327 WriteValueToOutput(function, 0, frame_index, output_offset, "function ");
1333 DebugPrintOutputSlot(value, frame_index, output_offset, "argc ");
1355 void Deoptimizer::DoComputeConstructStubFrame(int frame_index) {
1357 &(translated_state_.frames()[frame_index]);
1382 DCHECK(frame_index > 0 && frame_index < output_count_ - 1);
1383 DCHECK(output_[frame_index] == NULL);
1384 output_[frame_index] = output_frame;
1389 top_address = output_[frame_index - 1]->GetTop() - output_frame_size;
1401 &value_iterator, &input_index, frame_index, output_offset, nullptr,
1407 intptr_t callers_pc = output_[frame_index - 1]->GetPc();
1409 DebugPrintOutputSlot(callers_pc, frame_index, output_offset, "caller's pc\n");
1413 intptr_t value = output_[frame_index - 1]->GetFp();
1417 DebugPrintOutputSlot(value, frame_index, output_offset, "caller's fp\n");
1422 value = output_[frame_index - 1]->GetConstantPool();
1424 DebugPrintOutputSlot(value, frame_index, output_offset,
1430 value = output_[frame_index - 1]->GetContext();
1432 DebugPrintOutputSlot(value, frame_index, output_offset, "context\n");
1438 DebugPrintOutputSlot(value, frame_index, output_offset,
1445 DebugPrintOutputSlot(value, frame_index, output_offset, "code object\n");
1451 DebugPrintOutputSlot(value, frame_index, output_offset, "allocation site\n");
1457 DebugPrintOutputSlot(value, frame_index, output_offset, "argc ");
1467 DebugPrintOutputSlot(value, frame_index, output_offset,
1484 void Deoptimizer::DoComputeAccessorStubFrame(int frame_index,
1487 &(translated_state_.frames()[frame_index]);
1522 CHECK(frame_index > 0 && frame_index < output_count_ - 1);
1523 CHECK_NULL(output_[frame_index]);
1524 output_[frame_index] = output_frame;
1528 intptr_t top_address = output_[frame_index - 1]->GetTop() - output_frame_size;
1535 intptr_t callers_pc = output_[frame_index - 1]->GetPc();
1537 DebugPrintOutputSlot(callers_pc, frame_index, output_offset, "caller's pc\n");
1541 intptr_t value = output_[frame_index - 1]->GetFp();
1545 DebugPrintOutputSlot(value, frame_index, output_offset, "caller's fp\n");
1550 value = output_[frame_index - 1]->GetConstantPool();
1552 DebugPrintOutputSlot(value, frame_index, output_offset,
1558 value = output_[frame_index - 1]->GetContext();
1560 DebugPrintOutputSlot(value, frame_index, output_offset, "context\n");
1566 DebugPrintOutputSlot(value, frame_index, output_offset, "function ");
1579 DebugPrintOutputSlot(value, frame_index, output_offset, "code object\n");
1589 WriteTranslatedValueToOutput(&value_iterator, &input_index, frame_index,
1609 void Deoptimizer::DoComputeCompiledStubFrame(int frame_index) {
1646 &(translated_state_.frames()[frame_index]);
1679 CHECK_EQ(frame_index, 0);
1680 output_[frame_index] = output_frame;
1695 DebugPrintOutputSlot(value, frame_index, output_frame_offset,
1706 DebugPrintOutputSlot(value, frame_index, output_frame_offset,
1715 DebugPrintOutputSlot(value, frame_index, output_frame_offset,
1727 DebugPrintOutputSlot(value, frame_index, output_frame_offset, "context\n");
1734 DebugPrintOutputSlot(value, frame_index, output_frame_offset,
1754 value, frame_index, args_arguments_offset,
1762 value, frame_index, length_frame_offset,
1769 DebugPrintOutputSlot(value, frame_index, output_frame_offset, "args*\n");
1795 DebugPrintOutputSlot(value, frame_index, output_frame_offset,
1810 DebugPrintOutputSlot(caller_arg_count, frame_index, length_frame_offset,
1815 DebugPrintOutputSlot(value, frame_index, args_arguments_offset,
1854 for (int frame_index = 0; frame_index < jsframe_count(); ++frame_index) {
1855 if (frame_index != 0) it->Advance();
1879 int frame_index, int parameter_count, int expression_count,
1885 TranslatedFrame* frame = &(translated_state_.frames()[frame_index]);
1892 if (frame_index > 0) {
1894 &(translated_state_.frames()[frame_index - 1]);
1928 TranslatedFrame::iterator* iterator, int* input_index, int frame_index,
1933 WriteValueToOutput(value, *input_index, frame_index, output_offset,
1938 reinterpret_cast<Address>(output_[frame_index]->GetTop()) +
1953 int frame_index, unsigned output_offset,
1955 output_[frame_index]->SetFrameSlot(output_offset,
1959 DebugPrintOutputSlot(reinterpret_cast<intptr_t>(value), frame_index,
1967 void Deoptimizer::DebugPrintOutputSlot(intptr_t value, int frame_index,
1972 reinterpret_cast<Address>(output_[frame_index]->GetTop()) +
2498 int frame_index,
2501 FrameDescription* output_frame = deoptimizer->output_[frame_index];
2522 output_frame = deoptimizer->output_[frame_index - 1];
3088 int frame_index, int value_index, TranslationIterator* iterator,
3123 object_positions_.push_back({frame_index, value_index});
3134 object_positions_.push_back({frame_index, value_index});
3385 Handle<Object> TranslatedState::MaterializeAt(int frame_index,
3387 TranslatedFrame* frame = &(frames_[frame_index]);
3410 if (GetAdaptedArguments(&arguments, frame_index)) {
3413 MaterializeAt(frame_index, value_index);
3423 Handle<Object> value = MaterializeAt(frame_index, value_index);
3441 MaterializeAt(frame_index, value_index);
3447 Handle<Object> map_object = MaterializeAt(frame_index, value_index);
3455 Handle<Object> object = MaterializeAt(frame_index, value_index);
3462 MaterializeAt(frame_index, value_index);
3470 Handle<Object> properties = MaterializeAt(frame_index, value_index);
3471 Handle<Object> elements = MaterializeAt(frame_index, value_index);
3475 Handle<Object> value = MaterializeAt(frame_index, value_index);
3485 Handle<Object> properties = MaterializeAt(frame_index, value_index);
3486 Handle<Object> elements = MaterializeAt(frame_index, value_index);
3487 Handle<Object> length = MaterializeAt(frame_index, value_index);
3494 Handle<Object> lengthObject = MaterializeAt(frame_index, value_index);
3505 Handle<Object> value = MaterializeAt(frame_index, value_index);
3512 Handle<Object> lengthObject = MaterializeAt(frame_index, value_index);
3522 Handle<Object> value = MaterializeAt(frame_index, value_index);
3544 DCHECK(pos.frame_index_ < frame_index ||
3545 (pos.frame_index_ == frame_index &&
3576 int frame_index) {
3577 if (frame_index == 0) {
3585 Handle<JSFunction>::cast(frames_[frame_index].front().GetValue());
3589 TranslatedFrame* previous_frame = &(frames_[frame_index]);