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

Unified Diff: src/interpreter/interpreter-assembler.h

Issue 2336643002: [Interpreter] Move context chain search loop to handler (Closed)
Patch Set: Address comments Created 4 years, 3 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
Index: src/interpreter/interpreter-assembler.h
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h
index 7e71cf220f07733a9491f6142e4725f9ceb3895d..779e6a89cb1da83c00b510f9e4fc70824431a108 100644
--- a/src/interpreter/interpreter-assembler.h
+++ b/src/interpreter/interpreter-assembler.h
@@ -53,6 +53,10 @@ class InterpreterAssembler : public CodeStubAssembler {
compiler::Node* GetContext();
void SetContext(compiler::Node* value);
+ // Context at |depth| from the given |root_context|
+ compiler::Node* GetContextAtDepth(compiler::Node* root_context,
Michael Starzinger 2016/09/13 09:53:08 nit: Likewise about "root_context" vs "context" he
Leszek Swirski 2016/09/13 10:17:51 Done.
+ compiler::Node* depth);
+
// Number of registers.
compiler::Node* RegisterCount();

Powered by Google App Engine
This is Rietveld 408576698