Index: src/ic/call-optimization.h |
diff --git a/src/ic/call-optimization.h b/src/ic/call-optimization.h |
index 99494fa3bad8b7747734dc7f38844c8fe50c3aed..b6435d25a3e30aa2f440e8775e69710a963a7a0a 100644 |
--- a/src/ic/call-optimization.h |
+++ b/src/ic/call-optimization.h |
@@ -38,7 +38,8 @@ class CallOptimization BASE_EMBEDDED { |
enum HolderLookup { kHolderNotFound, kHolderIsReceiver, kHolderFound }; |
Handle<JSObject> LookupHolderOfExpectedType( |
- Handle<Map> receiver_map, HolderLookup* holder_lookup) const; |
+ Handle<Map> receiver_map, HolderLookup* holder_lookup, |
+ int* holder_depth_in_prototype_chain = NULL) const; |
// Check if the api holder is between the receiver and the holder. |
bool IsCompatibleReceiver(Handle<Object> receiver, |