Home | History | Annotate | Download | only in src

Lines Matching full:frame

137   // Get the id of this stack frame.
140 // Checks if this frame includes any stack handlers.
143 // Get the type of this frame.
146 // Get the code associated with this frame.
171 // Compute the stack pointer for the calling frame.
182 // Compute the stack frame type for the given state.
189 // Fill in the state of the calling frame.
192 // Get the type and the state of the calling frame.
217 static EntryFrame* cast(StackFrame* frame) {
218 ASSERT(frame->is_entry());
219 return static_cast<EntryFrame*>(frame);
226 // real information about the caller frame is available through the
227 // link to the top exit frame.
244 static EntryConstructFrame* cast(StackFrame* frame) {
245 ASSERT(frame->is_entry_construct());
246 return static_cast<EntryConstructFrame*>(frame);
271 static ExitFrame* cast(StackFrame* frame) {
272 ASSERT(frame->is_exit());
273 return static_cast<ExitFrame*>(frame);
276 // Compute the state and type of an exit frame given a frame
277 // pointer. Used when constructing the first stack frame seen by an
301 // Access the expressions in the stack frame including locals.
306 static StandardFrame* cast(StackFrame* frame) {
307 ASSERT(frame->is_standard());
308 return static_cast<StandardFrame*>(frame);
321 // Computes the address of the PC field in the standard frame given
322 // by the provided frame pointer.
333 // handler or not. Requires traversing all handlers in this frame.
336 // Determines if the standard frame for the given frame pointer is
337 // an arguments adaptor frame.
340 // Determines if the standard frame for the given frame pointer is a
341 // construct frame.
368 // Check if this frame is a constructor frame invoked through 'new'.
371 // Check if this frame has "adapted" arguments in the sense that the
373 // frame below it on the stack.
384 // Determine the code for the frame.
387 static JavaScriptFrame* cast(StackFrame* frame) {
388 ASSERT(frame->is_java_script());
389 return static_cast<JavaScriptFrame*>(frame);
420 // Determine the code for the frame.
423 static ArgumentsAdaptorFrame* cast(StackFrame* frame) {
424 ASSERT(frame->is_arguments_adaptor());
425 return static_cast<ArgumentsAdaptorFrame*>(frame);
450 // Determine the code for the frame.
453 static InternalFrame* cast(StackFrame* frame) {
454 ASSERT(frame->is_internal());
455 return static_cast<InternalFrame*>(frame);
475 static ConstructFrame* cast(StackFrame* frame) {
476 ASSERT(frame->is_construct());
477 return static_cast<ConstructFrame*>(frame);
502 StackFrame* frame() const {
510 // Go back to the first frame.
529 // Get the type-specific frame singleton in a given state.
554 frame with the given id is reached.
563 inline JavaScriptFrame* frame() const;
568 // Advance to the frame holding the arguments for the current
569 // frame. This only affects the current frame if it has adapted
573 // Go back to the first frame.
584 // NOTE: The stack trace frame iterator is an iterator that only
603 StackFrame* frame() const {
605 return iterator_.frame();
622 bool CanIterateHandles(StackFrame* frame, StackHandler* handler);
623 bool IsValidFrame(StackFrame* frame) const;
624 bool IsValidCaller(StackFrame* frame);
652 // Find the nth JavaScript frame on the stack. The caller must
653 // guarantee that such a frame exists.