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

Side by Side Diff: src/frames.h

Issue 5699002: RFC: Switch to ast ids (instead of positions) for type feedback. (Closed)
Patch Set: Cleanup Created 10 years 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // GC support. 511 // GC support.
512 virtual void Iterate(ObjectVisitor* v) const; 512 virtual void Iterate(ObjectVisitor* v) const;
513 513
514 // Return a list with JSFunctions of this frame. 514 // Return a list with JSFunctions of this frame.
515 // The functions are ordered bottom-to-top (i.e. functions.last() 515 // The functions are ordered bottom-to-top (i.e. functions.last()
516 // is the top-most activation) 516 // is the top-most activation)
517 virtual void GetFunctions(List<JSFunction*>* functions); 517 virtual void GetFunctions(List<JSFunction*>* functions);
518 518
519 virtual void Summarize(List<FrameSummary>* frames); 519 virtual void Summarize(List<FrameSummary>* frames);
520 520
521 DeoptimizationInputData* GetDeoptimizationData(int* deopt_index); 521 DeoptimizationInputData* GetDeoptimizationData(AstId* deopt_index);
522 522
523 protected: 523 protected:
524 explicit OptimizedFrame(StackFrameIterator* iterator) 524 explicit OptimizedFrame(StackFrameIterator* iterator)
525 : JavaScriptFrame(iterator) { } 525 : JavaScriptFrame(iterator) { }
526 526
527 private: 527 private:
528 friend class StackFrameIterator; 528 friend class StackFrameIterator;
529 }; 529 };
530 530
531 531
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 }; 815 };
816 816
817 817
818 // Reads all frames on the current stack and copies them into the current 818 // Reads all frames on the current stack and copies them into the current
819 // zone memory. 819 // zone memory.
820 Vector<StackFrame*> CreateStackMap(); 820 Vector<StackFrame*> CreateStackMap();
821 821
822 } } // namespace v8::internal 822 } } // namespace v8::internal
823 823
824 #endif // V8_FRAMES_H_ 824 #endif // V8_FRAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698