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

Side by Side Diff: src/frames.h

Issue 1884183002: First version of the new generators implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 8 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
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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 void PatchBytecodeOffset(int new_offset); 897 void PatchBytecodeOffset(int new_offset);
898 898
899 // Returns the frame's current bytecode array. 899 // Returns the frame's current bytecode array.
900 Object* GetBytecodeArray() const; 900 Object* GetBytecodeArray() const;
901 901
902 // Updates the frame's BytecodeArray with |bytecode_array|. Used by the 902 // Updates the frame's BytecodeArray with |bytecode_array|. Used by the
903 // debugger to swap execution onto a BytecodeArray patched with breakpoints. 903 // debugger to swap execution onto a BytecodeArray patched with breakpoints.
904 void PatchBytecodeArray(Object* bytecode_array); 904 void PatchBytecodeArray(Object* bytecode_array);
905 905
906 // Access to the interpreter register file for this frame. 906 // Access to the interpreter register file for this frame.
907 Object* GetInterpreterRegister(int register_index) const; 907 Object* ReadInterpreterRegister(int register_index) const;
908 void WriteInterpreterRegister(int register_index, Object* value);
908 909
909 // Build a list with summaries for this frame including all inlined frames. 910 // Build a list with summaries for this frame including all inlined frames.
910 void Summarize(List<FrameSummary>* frames) const override; 911 void Summarize(List<FrameSummary>* frames) const override;
911 912
912 protected: 913 protected:
913 inline explicit InterpretedFrame(StackFrameIteratorBase* iterator); 914 inline explicit InterpretedFrame(StackFrameIteratorBase* iterator);
914 915
915 Address GetExpressionAddress(int n) const override; 916 Address GetExpressionAddress(int n) const override;
916 917
917 private: 918 private:
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 1215
1215 1216
1216 // Reads all frames on the current stack and copies them into the current 1217 // Reads all frames on the current stack and copies them into the current
1217 // zone memory. 1218 // zone memory.
1218 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 1219 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
1219 1220
1220 } // namespace internal 1221 } // namespace internal
1221 } // namespace v8 1222 } // namespace v8
1222 1223
1223 #endif // V8_FRAMES_H_ 1224 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/frames.cc » ('j') | src/interpreter/bytecode-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698