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

Unified Diff: src/stub-cache.h

Issue 573003: ia32: Fuse map and type checks in call ICs for API functions. (Closed)
Patch Set: Rewrote a comment. Created 10 years, 10 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
Index: src/stub-cache.h
diff --git a/src/stub-cache.h b/src/stub-cache.h
index d97fe7732c941438dc6cd7c0ce21fd57a40ce32e..9d6d1f98cf2eee10740dfbce0db2a659b20bf4ed 100644
--- a/src/stub-cache.h
+++ b/src/stub-cache.h
@@ -387,6 +387,17 @@ class StubCompiler BASE_EMBEDDED {
Register holder_reg,
Register scratch,
String* name,
+ Label* miss) {
+ return CheckPrototypes(object, object_reg, holder, holder_reg, scratch,
+ name, kInvalidProtoDepth, miss);
+ }
+ Register CheckPrototypes(JSObject* object,
Mads Ager (chromium) 2010/02/08 08:56:58 Add vertical space between the function declaratio
Vitaly Repeshko 2010/02/09 16:15:24 Done.
+ Register object_reg,
+ JSObject* holder,
+ Register holder_reg,
+ Register scratch,
+ String* name,
+ int save_at_depth,
Label* miss);
protected:

Powered by Google App Engine
This is Rietveld 408576698