Index: src/ic/call-optimization.h |
diff --git a/src/ic/call-optimization.h b/src/ic/call-optimization.h |
index 7963d1ce67052c8c93434d949839aae7991a70e7..efabd3387c0ad3c71daffb63b11f7c71a14fa6e7 100644 |
--- a/src/ic/call-optimization.h |
+++ b/src/ic/call-optimization.h |
@@ -15,7 +15,7 @@ namespace internal { |
// Holds information about possible function call optimizations. |
class CallOptimization BASE_EMBEDDED { |
public: |
- explicit CallOptimization(Handle<JSFunction> function); |
+ explicit CallOptimization(Handle<Object> function); |
bool is_constant_call() const { return !constant_function_.is_null(); } |
@@ -51,6 +51,7 @@ class CallOptimization BASE_EMBEDDED { |
private: |
void Initialize(Handle<JSFunction> function); |
+ void Initialize(Handle<FunctionTemplateInfo> function_template_info); |
// Determines whether the given function can be called using the |
// fast api call builtin. |