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

Side by Side Diff: src/frames.h

Issue 12379045: Unify deoptimizer for stub failure trampoline frames. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Daniel Clifford. Created 7 years, 9 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 | « src/deoptimizer.cc ('k') | src/ia32/deoptimizer-ia32.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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 StandardFrameConstants::kMarkerOffset - 2 * kPointerSize; 702 StandardFrameConstants::kMarkerOffset - 2 * kPointerSize;
703 703
704 virtual Type type() const { return STUB_FAILURE_TRAMPOLINE; } 704 virtual Type type() const { return STUB_FAILURE_TRAMPOLINE; }
705 705
706 // Get the code associated with this frame. 706 // Get the code associated with this frame.
707 // This method could be called during marking phase of GC. 707 // This method could be called during marking phase of GC.
708 virtual Code* unchecked_code() const; 708 virtual Code* unchecked_code() const;
709 709
710 virtual void Iterate(ObjectVisitor* v) const; 710 virtual void Iterate(ObjectVisitor* v) const;
711 711
712 // Architecture-specific register description.
713 static Register fp_register();
714 static Register context_register();
715
712 protected: 716 protected:
713 inline explicit StubFailureTrampolineFrame( 717 inline explicit StubFailureTrampolineFrame(
714 StackFrameIterator* iterator); 718 StackFrameIterator* iterator);
715 719
716 virtual Address GetCallerStackPointer() const; 720 virtual Address GetCallerStackPointer() const;
717 721
718 private: 722 private:
719 friend class StackFrameIterator; 723 friend class StackFrameIterator;
720 }; 724 };
721 725
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 }; 973 };
970 974
971 975
972 // Reads all frames on the current stack and copies them into the current 976 // Reads all frames on the current stack and copies them into the current
973 // zone memory. 977 // zone memory.
974 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 978 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
975 979
976 } } // namespace v8::internal 980 } } // namespace v8::internal
977 981
978 #endif // V8_FRAMES_H_ 982 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698