Reviewers: Mikhail Naganov (Chromium),
Description:
Remove STL dependencies from mksnapshot.cc
Remove unused code and consequently the stl includes of map and string.
[email protected]
Please review this at http://codereview.chromium.org/7737012/
SVN Base: git://github.com/v8/v8.git@master
Affected files:
M src/mksnapshot.cc
Index: src/mksnapshot.cc
diff --git a/src/mksnapshot.cc b/src/mksnapshot.cc
index
4f5fe96a9027e822f4b359555f436842a0774d81..a791dbba282302be09744c77c08179ea09fb6105
100644
--- a/src/mksnapshot.cc
+++ b/src/mksnapshot.cc
@@ -29,8 +29,6 @@
#include <bzlib.h>
#endif
#include <signal.h>
-#include <string>
-#include <map>
#include "v8.h"
@@ -86,16 +84,6 @@ class CounterCollection {
};
-// We statically allocate a set of local counters to be used if we
-// don't want to store the stats in a memory-mapped file
-static CounterCollection local_counters;
-
-
-typedef std::map<std::string, int*> CounterMap;
-typedef std::map<std::string, int*>::iterator CounterMapIterator;
-static CounterMap counter_table_;
-
-
class Compressor {
public:
virtual ~Compressor() {}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev