Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index 04f7e85b39350d36431523eee791db47dd920ef1..8d3a3a92b2834eadea4f730c5dd522778a9a6d73 100644 |
--- a/src/interpreter/interpreter.h |
+++ b/src/interpreter/interpreter.h |
@@ -5,6 +5,7 @@ |
#ifndef V8_INTERPRETER_INTERPRETER_H_ |
#define V8_INTERPRETER_INTERPRETER_H_ |
+#include <functional> |
#include <memory> |
// Clients of this interface shouldn't depend on lots of interpreter internals. |
@@ -148,10 +149,9 @@ class Interpreter { |
InterpreterAssembler* assembler); |
// Generates code to load a global. |
- compiler::Node* BuildLoadGlobal(Callable ic, compiler::Node* context, |
- compiler::Node* name_index, |
- compiler::Node* feedback_slot, |
- InterpreterAssembler* assembler); |
+ void BuildLoadGlobal(const std::function<compiler::Node*()>& gen_name_index, |
+ compiler::Node* feedback_slot, TypeofMode typeof_mode, |
+ InterpreterAssembler* assembler); |
// Generates code to prepare the result for ForInPrepare. Cache data |
// are placed into the consecutive series of registers starting at |