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

Unified Diff: src/ic/ic.h

Issue 2479523002: [ic] Avoid extra prototype chain iteration when creating a load IC data handler. (Closed)
Patch Set: Created 4 years, 1 month 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/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 39036c42d6b0e9d86b474d1b6074cb11edd7f08b..47cc54257ce5daec4575b3bd09043c0b66b0d702 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -325,14 +325,13 @@ class LoadIC : public IC {
// Creates a data handler that represents a prototype chain check followed
// by given Smi-handler that encoded a load from the holder.
// Can be used only if GetPrototypeCheckCount() returns non negative value.
- Handle<Object> SimpleLoadFromPrototype(Handle<Map> receiver_map,
- Handle<JSObject> holder,
- Handle<Name> name,
- Handle<Object> smi_handler);
+ Handle<Object> LoadFromPrototype(Handle<Map> receiver_map,
+ Handle<JSObject> holder, Handle<Name> name,
+ Handle<Object> smi_handler);
// Creates a data handler that represents a load of a non-existent property.
- Handle<Object> SimpleLoadNonExistent(Handle<Map> receiver_map,
- Handle<Name> name);
+ Handle<Object> LoadNonExistent(Handle<Map> receiver_map, Handle<Name> name);
+
friend class IC;
};
« no previous file with comments | « no previous file | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698