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()); |
} |