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

Unified Diff: src/ic/ic.h

Issue 2412043003: [ic] Support non-code handlers in megamorphic stub cache. (Closed)
Patch Set: Addressing comments Created 4 years, 2 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 | « src/field-index-inl.h ('k') | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.h
diff --git a/src/ic/ic.h b/src/ic/ic.h
index bf395f1f2a443644c748c00aed71d0c632155742..dbeefb53d4e2609a360a0015e8a321703ee95e57 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -81,6 +81,8 @@ class IC {
static InlineCacheState StateFromCode(Code* code);
+ static inline bool IsHandler(Object* object);
+
protected:
Address fp() const { return fp_; }
Address pc() const { return *pc_address_; }
« no previous file with comments | « src/field-index-inl.h ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698