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

Unified Diff: src/objects.cc

Issue 7273066: Simplify EmitCallIC. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 6 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/objects.cc
===================================================================
--- src/objects.cc (revision 8463)
+++ src/objects.cc (working copy)
@@ -6817,6 +6817,17 @@
}
+StatsCounter* Code::Counter(Isolate* isolate) {
+ switch (kind()) {
+ case LOAD_IC: return isolate->counters()->named_load_full();
+ case KEYED_LOAD_IC: return isolate->counters()->keyed_load_full();
+ case STORE_IC: return isolate->counters()->named_store_full();
+ case KEYED_STORE_IC: return isolate->counters()->keyed_store_full();
+ default: return NULL;
+ }
+}
+
+
void Code::InvalidateRelocation() {
set_relocation_info(heap()->empty_byte_array());
}

Powered by Google App Engine
This is Rietveld 408576698