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
This commit is contained in:
parent
449fd357df
commit
29bb1f8d62
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user