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

Unified Diff: src/interpreter/interpreter.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.h
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
index fda8b5f387daf032c5633b3beb82883adc3deba3..de161c951e1823fb0fa18afe145a371f4f59a8ed 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -136,6 +136,12 @@ class Interpreter {
void DoStaLookupSlot(LanguageMode language_mode,
InterpreterAssembler* assembler);
+ // Generates code to get a context at a given |depth| from the given
+ // |root_context|.
Michael Starzinger 2016/09/13 09:53:08 nit: The name "root_context" sounds misleading bec
Leszek Swirski 2016/09/13 10:17:51 Done (actually, this was a leftover definition fro
+ compiler::Node* GetContextAtDepth(InterpreterAssembler* assembler,
+ compiler::Node* root_context,
+ compiler::Node* depth);
+
// Generates code to load a context slot.
compiler::Node* BuildLoadContextSlot(InterpreterAssembler* assembler);

Powered by Google App Engine
This is Rietveld 408576698