diff options
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrSelection.cpp')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrSelection.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp index c8efb3bf34..0526dda40e 100644 --- a/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -52,13 +52,12 @@ bool SelectInstructionsForMethod(Method* method, TargetMachine &Target) { InstrForest instrForest; instrForest.buildTreesForMethod(method); - const hash_set<InstructionNode*, ptrHashFunc>& - treeRoots = instrForest.getRootSet(); + const hash_set<InstructionNode*> &treeRoots = instrForest.getRootSet(); // // Invoke BURG instruction selection for each tree // - for (hash_set<InstructionNode*, ptrHashFunc >::const_iterator + for (hash_set<InstructionNode*>::const_iterator treeRootIter = treeRoots.begin(); treeRootIter != treeRoots.end(); ++treeRootIter) |