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

Unified Diff: src/heap.cc

Issue 9403009: Count ICs that have type information. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index ff31361866c54fdb004747e94652a56c5eafd473..e41526bc3542247a86eec37db79e37a0325da53d 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -2870,6 +2870,8 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) {
share->set_deopt_counter(FLAG_deopt_every_n_times);
share->set_profiler_ticks(0);
share->set_ast_node_count(0);
+ share->set_ic_total_count(0);
+ share->set_ic_typeinfo_count(0);
// Set integer fields (smi or int, depending on the architecture).
share->set_length(0);

Powered by Google App Engine
This is Rietveld 408576698