Revision: 9125
Author:   [email protected]
Date:     Mon Sep  5 01:06:29 2011
Log:      Remove STL dependencies from mksnapshot.cc

Remove unused code and consequently the stl includes of map and string.

[email protected]

Review URL: http://codereview.chromium.org/7737012/
http://code.google.com/p/v8/source/detail?r=9125

Modified:
 /branches/bleeding_edge/src/mksnapshot.cc

=======================================
--- /branches/bleeding_edge/src/mksnapshot.cc   Fri Aug 12 02:49:55 2011
+++ /branches/bleeding_edge/src/mksnapshot.cc   Mon Sep  5 01:06:29 2011
@@ -29,8 +29,6 @@
 #include <bzlib.h>
 #endif
 #include <signal.h>
-#include <string>
-#include <map>

 #include "v8.h"

@@ -86,16 +84,6 @@
 };


-// 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

Reply via email to