Index: src/ic/call-optimization.h |
diff --git a/src/ic/call-optimization.h b/src/ic/call-optimization.h |
index b6435d25a3e30aa2f440e8775e69710a963a7a0a..990a7550c941d3d377b61346eec9f77068816b9c 100644 |
--- a/src/ic/call-optimization.h |
+++ b/src/ic/call-optimization.h |
@@ -45,6 +45,10 @@ class CallOptimization BASE_EMBEDDED { |
bool IsCompatibleReceiver(Handle<Object> receiver, |
Handle<JSObject> holder) const; |
+ // Check if the api holder is between the receiver and the holder. |
+ bool IsCompatibleReceiverType(Handle<Map> receiver_map, |
+ Handle<JSObject> holder) const; |
+ |
private: |
void Initialize(Handle<JSFunction> function); |