Author: [EMAIL PROTECTED]
Date: Fri Dec 5 02:40:13 2008
New Revision: 923
Modified:
branches/bleeding_edge/src/d8.cc
Log:
Fixed the caching of counters. This also fixes the --dump-counters which
reads the counters from the cache when dumping.
Review URL: http://codereview.chromium.org/13171
Modified: branches/bleeding_edge/src/d8.cc
==============================================================================
--- branches/bleeding_edge/src/d8.cc (original)
+++ branches/bleeding_edge/src/d8.cc Fri Dec 5 02:40:13 2008
@@ -257,6 +257,7 @@
}
Counter* result = counters_->GetNextCounter();
if (result == NULL) return NULL;
+ counter_map_[name] = result;
return result->Bind(name);
}
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---