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

Side by Side Diff: src/frames.h

Issue 1181373003: [deoptimizer] Use TranslationIterator for OptimizedFrame again. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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
« 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FRAMES_H_ 5 #ifndef V8_FRAMES_H_
6 #define V8_FRAMES_H_ 6 #define V8_FRAMES_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 #include "src/safepoint-table.h" 10 #include "src/safepoint-table.h"
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 virtual int LookupExceptionHandlerInTable( 636 virtual int LookupExceptionHandlerInTable(
637 int* stack_slots, HandlerTable::CatchPrediction* prediction); 637 int* stack_slots, HandlerTable::CatchPrediction* prediction);
638 638
639 DeoptimizationInputData* GetDeoptimizationData(int* deopt_index); 639 DeoptimizationInputData* GetDeoptimizationData(int* deopt_index);
640 640
641 protected: 641 protected:
642 inline explicit OptimizedFrame(StackFrameIteratorBase* iterator); 642 inline explicit OptimizedFrame(StackFrameIteratorBase* iterator);
643 643
644 private: 644 private:
645 friend class StackFrameIteratorBase; 645 friend class StackFrameIteratorBase;
646
647 Object* StackSlotAt(int index) const;
646 }; 648 };
647 649
648 650
649 // Arguments adaptor frames are automatically inserted below 651 // Arguments adaptor frames are automatically inserted below
650 // JavaScript frames when the actual number of parameters does not 652 // JavaScript frames when the actual number of parameters does not
651 // match the formal number of parameters. 653 // match the formal number of parameters.
652 class ArgumentsAdaptorFrame: public JavaScriptFrame { 654 class ArgumentsAdaptorFrame: public JavaScriptFrame {
653 public: 655 public:
654 virtual Type type() const { return ARGUMENTS_ADAPTOR; } 656 virtual Type type() const { return ARGUMENTS_ADAPTOR; }
655 657
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 }; 892 };
891 893
892 894
893 // Reads all frames on the current stack and copies them into the current 895 // Reads all frames on the current stack and copies them into the current
894 // zone memory. 896 // zone memory.
895 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 897 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
896 898
897 } } // namespace v8::internal 899 } } // namespace v8::internal
898 900
899 #endif // V8_FRAMES_H_ 901 #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