Lines Matching defs:frame
407 Handle<JSObject> ArgumentsForInlinedFunction(JavaScriptFrame* frame,
409 Isolate* isolate = frame->isolate();
412 TranslatedState translated_values(frame);
413 translated_values.Prepare(frame->fp());
434 // If we materialize any object, we should deoptimize the frame because we
444 translated_values.StoreMaterializedValuesAndDeopt(frame);
451 int FindFunctionInFrame(JavaScriptFrame* frame, Handle<JSFunction> function) {
453 frame->Summarize(&frames);
465 JavaScriptFrame* frame = it->frame();
472 return ArgumentsForInlinedFunction(frame, function_index);
475 // Construct an arguments object mirror for the right frame and the underlying
477 const int length = frame->GetActualArgumentCount();
478 Handle<JSFunction> function(frame->function(), isolate);
486 Object value = frame->GetParameter(i);
503 Handle<JSObject> Accessors::FunctionGetArguments(JavaScriptFrame* frame,
505 Isolate* isolate = frame->isolate();
506 Address requested_frame_fp = frame->fp();
507 // Forward a frame iterator to the requested frame. This is needed because we
508 // potentially need for advance it to the arguments adaptor frame later.
510 if (it.frame()->fp() != requested_frame_fp) continue;
513 UNREACHABLE(); // Requested frame not found.
527 JavaScriptFrame* frame = it.frame();
528 int function_index = FindFunctionInFrame(frame, function);
593 // trigger a deoptimization of the underlying frame.
597 JavaScriptFrame* frame = frame_iterator_.frame();
598 TranslatedState translated_values(frame);
599 translated_values.Prepare(frame->fp());
609 translated_values.StoreMaterializedValuesAndDeopt(frame);
639 JavaScriptFrame* frame = frame_iterator_.frame();
640 frame->Summarize(&frames_);
657 // Find the function from the frames. Return null in case no frame