summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/tools
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-15 16:08:57 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-15 16:08:57 +0200
commit5466563f4b5b6b86523e3f89bb7f77e5b5270c78 (patch)
tree8caccf7cd03a15207cde3ba282c88bf132482a91 /Source/JavaScriptCore/tools
parent33b26980cb24288b5a9f2590ccf32a949281bb79 (diff)
downloadqtwebkit-5466563f4b5b6b86523e3f89bb7f77e5b5270c78.tar.gz
Imported WebKit commit 0dc6cd75e1d4836eaffbb520be96fac4847cc9d2 (http://svn.webkit.org/repository/webkit/trunk@131300)
WebKit update which introduces the QtWebKitWidgets module that contains the WK1 widgets based API. (In fact it renames QtWebKit to QtWebKitWidgets while we're working on completing the entire split as part of https://bugs.webkit.org/show_bug.cgi?id=99314
Diffstat (limited to 'Source/JavaScriptCore/tools')
-rw-r--r--Source/JavaScriptCore/tools/ProfileTreeNode.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/JavaScriptCore/tools/ProfileTreeNode.h b/Source/JavaScriptCore/tools/ProfileTreeNode.h
index 7b51efb85..7b5a95ec4 100644
--- a/Source/JavaScriptCore/tools/ProfileTreeNode.h
+++ b/Source/JavaScriptCore/tools/ProfileTreeNode.h
@@ -51,7 +51,7 @@ public:
ProfileTreeNode newEntry;
Map::AddResult result = m_children->add(String(name), newEntry);
- ProfileTreeNode* childInMap = &result.iterator->second;
+ ProfileTreeNode* childInMap = &result.iterator->value;
++childInMap->m_count;
return childInMap;
}
@@ -72,7 +72,7 @@ public:
return 0;
uint64_t childCount = 0;
for (Map::iterator it = m_children->begin(); it != m_children->end(); ++it)
- childCount += it->second.count();
+ childCount += it->value.count();
return childCount;
}
@@ -97,19 +97,19 @@ private:
for (unsigned i = 0; i < indent; ++i)
dataLog(" ");
dataLog("% 8lld: %s (%lld stack top)\n",
- static_cast<long long>(entry->second.count()),
- entry->first.utf8().data(),
- static_cast<long long>(entry->second.count() - entry->second.childCount()));
+ static_cast<long long>(entry->value.count()),
+ entry->key.utf8().data(),
+ static_cast<long long>(entry->value.count() - entry->value.childCount()));
// Recursively dump the child nodes.
- entry->second.dumpInternal(indent + 1);
+ entry->value.dumpInternal(indent + 1);
}
}
static int compareEntries(const void* a, const void* b)
{
- uint64_t da = (*static_cast<MapEntry* const *>(a))->second.count();
- uint64_t db = (*static_cast<MapEntry* const *>(b))->second.count();
+ uint64_t da = (*static_cast<MapEntry* const *>(a))->value.count();
+ uint64_t db = (*static_cast<MapEntry* const *>(b))->value.count();
return (da < db) - (da > db);
}