Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: src/ic/call-optimization.h

Issue 885763004: follow up named interceptor miss with api callback getter (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ic/call-optimization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | src/ic/call-optimization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698