aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/InstrSelection/InstrSelection.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-23 03:50:57 +0000
committerChris Lattner <sabre@nondot.org>2001-07-23 03:50:57 +0000
commit75279ccc759499704655a581bacb8dafb3c32b71 (patch)
tree7e173bf5aa5ff69d5e3b1f87f630d4129212c441 /lib/CodeGen/InstrSelection/InstrSelection.cpp
parent6c5a32d545f65623fcbb69937406f80e0715931a (diff)
Clean up hash table usage
Remove opaque pointer used for C compatibility which isn't an issue git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrSelection.cpp')
-rw-r--r--lib/CodeGen/InstrSelection/InstrSelection.cpp5
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)