Chromium Code Reviews| 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); |