mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Change DSGraph stuff to use hash_(set|map) instead of std::(set|map)
This change provides a small (3%) but consistent speedup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -87,8 +87,8 @@ struct DOTGraphTraits<const DSGraph*> : public DefaultDOTGraphTraits {
|
||||
static void addCustomGraphFeatures(const DSGraph *G,
|
||||
GraphWriter<const DSGraph*> &GW) {
|
||||
// Add scalar nodes to the graph...
|
||||
const std::map<Value*, DSNodeHandle> &VM = G->getScalarMap();
|
||||
for (std::map<Value*, DSNodeHandle>::const_iterator I = VM.begin();
|
||||
const hash_map<Value*, DSNodeHandle> &VM = G->getScalarMap();
|
||||
for (hash_map<Value*, DSNodeHandle>::const_iterator I = VM.begin();
|
||||
I != VM.end(); ++I)
|
||||
if (!isa<GlobalValue>(I->first)) {
|
||||
std::stringstream OS;
|
||||
|
Reference in New Issue
Block a user