Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/frames.h

Issue 8404030: Version 3.7.1 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/flag-definitions.h ('k') | src/frames.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 virtual void GetFunctions(List<JSFunction*>* functions); 505 virtual void GetFunctions(List<JSFunction*>* functions);
506 506
507 // Build a list with summaries for this frame including all inlined frames. 507 // Build a list with summaries for this frame including all inlined frames.
508 virtual void Summarize(List<FrameSummary>* frames); 508 virtual void Summarize(List<FrameSummary>* frames);
509 509
510 static JavaScriptFrame* cast(StackFrame* frame) { 510 static JavaScriptFrame* cast(StackFrame* frame) {
511 ASSERT(frame->is_java_script()); 511 ASSERT(frame->is_java_script());
512 return static_cast<JavaScriptFrame*>(frame); 512 return static_cast<JavaScriptFrame*>(frame);
513 } 513 }
514 514
515 static void PrintTop(FILE* file, bool print_args, bool print_line_number);
516
515 protected: 517 protected:
516 inline explicit JavaScriptFrame(StackFrameIterator* iterator); 518 inline explicit JavaScriptFrame(StackFrameIterator* iterator);
517 519
518 virtual Address GetCallerStackPointer() const; 520 virtual Address GetCallerStackPointer() const;
519 521
520 virtual int GetNumberOfIncomingArguments() const; 522 virtual int GetNumberOfIncomingArguments() const;
521 523
522 // Garbage collection support. Iterates over incoming arguments, 524 // Garbage collection support. Iterates over incoming arguments,
523 // receiver, and any callee-saved registers. 525 // receiver, and any callee-saved registers.
524 void IterateArguments(ObjectVisitor* v) const; 526 void IterateArguments(ObjectVisitor* v) const;
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 }; 869 };
868 870
869 871
870 // Reads all frames on the current stack and copies them into the current 872 // Reads all frames on the current stack and copies them into the current
871 // zone memory. 873 // zone memory.
872 Vector<StackFrame*> CreateStackMap(); 874 Vector<StackFrame*> CreateStackMap();
873 875
874 } } // namespace v8::internal 876 } } // namespace v8::internal
875 877
876 #endif // V8_FRAMES_H_ 878 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698