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

Side by Side Diff: src/frames.h

Issue 18620002: Do not store fp and sp values in TickSample (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed SIMULATOR compilation Created 7 years, 5 months 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 | « no previous file | 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 874
875 private: 875 private:
876 bool IsValidFrame(); 876 bool IsValidFrame();
877 }; 877 };
878 878
879 879
880 class SafeStackFrameIterator: public StackFrameIteratorBase { 880 class SafeStackFrameIterator: public StackFrameIteratorBase {
881 public: 881 public:
882 SafeStackFrameIterator(Isolate* isolate, 882 SafeStackFrameIterator(Isolate* isolate,
883 Address fp, Address sp, 883 Address fp, Address sp,
884 Address low_bound, Address high_bound); 884 Address js_entry_sp);
885 885
886 inline JavaScriptFrame* frame() const; 886 inline JavaScriptFrame* frame() const;
887 void Advance(); 887 void Advance();
888 888
889 StackFrame::Type top_frame_type() const { return top_frame_type_; } 889 StackFrame::Type top_frame_type() const { return top_frame_type_; }
890 890
891 private: 891 private:
892 void AdvanceOneFrame(); 892 void AdvanceOneFrame();
893 893
894 bool IsValidStackAddress(Address addr) const { 894 bool IsValidStackAddress(Address addr) const {
(...skipping 23 matching lines...) Expand all
918 }; 918 };
919 919
920 920
921 // Reads all frames on the current stack and copies them into the current 921 // Reads all frames on the current stack and copies them into the current
922 // zone memory. 922 // zone memory.
923 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 923 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
924 924
925 } } // namespace v8::internal 925 } } // namespace v8::internal
926 926
927 #endif // V8_FRAMES_H_ 927 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « no previous file | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698