summaryrefslogtreecommitdiff
path: root/trace_parser.hpp
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-11-26 15:47:51 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-11-26 15:47:51 +0000
commit2a937eeaa6974b2e69fffb18160d28e53c3fcbfa (patch)
treee633d114241a13a754dbbaec65a10b36449293dc /trace_parser.hpp
parent7eef8ce6f7cc1c410b8a78b66137d9448a92155b (diff)
Remove dead code.
Diffstat (limited to 'trace_parser.hpp')
-rw-r--r--trace_parser.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/trace_parser.hpp b/trace_parser.hpp
index e9f8c42..5b1758d 100644
--- a/trace_parser.hpp
+++ b/trace_parser.hpp
@@ -50,9 +50,6 @@ class Parser
protected:
gzFile file;
- typedef std::map<size_t, std::string> namemap;
- namemap names;
-
typedef std::map<unsigned, Call *> callmap;
callmap calls;
@@ -347,23 +344,6 @@ public:
return new UInt(addr);
}
- std::string read_name(void) {
- std::string name;
- size_t id = read_uint();
- if (id >= names.size()) {
- assert(id == names.size());
- name = read_string();
- names[id] = name;
- return name;
- } else {
- name = names[id];
- }
-#if TRACE_VERBOSE
- std::cerr << "\tNAME " << id << " " << name << "\n";
-#endif
- return name;
- }
-
std::string read_string(void) {
size_t len = read_uint();
if (!len) {