Remove STL dependencies from mksnapshot.cc

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

R=mnaganov@chromium.org

Review URL: http://codereview.chromium.org/7737012/

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9125 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 449fd357
......@@ -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() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment