Index: src/ic/call-optimization.h |
diff --git a/src/ic/call-optimization.h b/src/ic/call-optimization.h |
index efabd3387c0ad3c71daffb63b11f7c71a14fa6e7..7963d1ce67052c8c93434d949839aae7991a70e7 100644 |
--- a/src/ic/call-optimization.h |
+++ b/src/ic/call-optimization.h |
@@ -15,7 +15,7 @@ |
// Holds information about possible function call optimizations. |
class CallOptimization BASE_EMBEDDED { |
public: |
- explicit CallOptimization(Handle<Object> function); |
+ explicit CallOptimization(Handle<JSFunction> function); |
bool is_constant_call() const { return !constant_function_.is_null(); } |
@@ -51,7 +51,6 @@ |
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. |