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

Unified Diff: src/frames.h

Issue 1665833002: [interpreter] Switch context during stack unwinding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index c1fdf3b1483013af22ef88dc36bfac76c73db8f2..92fe2723ea1791b085d6172a85daac2de4736b64 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -190,6 +190,7 @@ class InterpreterFrameConstants : public AllStatic {
// Expression index for {StandardFrame::GetExpressionAddress}.
static const int kBytecodeOffsetExpressionIndex = 1;
+ static const int kRegisterFileExpressionIndex = 2;
// Register file pointer relative.
static const int kLastParamFromRegisterPointer =
@@ -732,6 +733,9 @@ class InterpretedFrame : public JavaScriptFrame {
// unwinding to continue execution at a different bytecode offset.
void PatchBytecodeOffset(int new_offset);
+ // Access to the interpreter register file for this frame.
+ Object* GetInterpreterRegister(int register_index) const;
+
// Build a list with summaries for this frame including all inlined frames.
void Summarize(List<FrameSummary>* frames) override;
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698