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

Unified Diff: src/ic.cc

Issue 11414201: Make HJSArrayLength more likely to have identical GVNs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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
« src/hydrogen.cc ('K') | « src/hydrogen-instructions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index bf2a649f7f298d1e53fb53b035b5dcfb323a7ee7..cd54987e584764aa6d5b45f8a69d60069fee537f 100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -844,9 +844,7 @@ MaybeObject* LoadIC::Load(State state,
}
if (!stub.is_null()) {
set_target(*stub);
-#ifdef DEBUG
- if (FLAG_trace_ic) PrintF("[LoadIC : +#length /string]\n");
-#endif
+ TRACE_IC("LoadICStringLength", name, state, target());
}
// Get the string if we have a string wrapper object.
Handle<Object> string = object->IsJSValue()
@@ -868,9 +866,7 @@ MaybeObject* LoadIC::Load(State state,
}
if (!stub.is_null()) {
set_target(*stub);
-#ifdef DEBUG
- if (FLAG_trace_ic) PrintF("[LoadIC : +#length /array]\n");
-#endif
+ TRACE_IC("LoadICArrayLength", name, state, target());
}
return JSArray::cast(*object)->length();
}
« src/hydrogen.cc ('K') | « src/hydrogen-instructions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698