[llvm-commits] [poolalloc] r57905 - /poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h
John Criswell
criswell at uiuc.edu
Tue Oct 21 07:42:01 PDT 2008
Author: criswell
Date: Tue Oct 21 09:42:00 2008
New Revision: 57905
URL: http://llvm.org/viewvc/llvm-project?rev=57905&view=rev
Log:
Fixed compilation error in SAFECode runtime.
It seems that RangeSplayTree will place the type T in a range_tree_node<> on
its own, so RangeSplayMap does not need to do it explicitly.
Modified:
poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h
Modified: poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h?rev=57905&r1=57904&r2=57905&view=diff
==============================================================================
--- poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h (original)
+++ poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h Tue Oct 21 09:42:00 2008
@@ -232,7 +232,7 @@
template<typename T, class Allocator = std::allocator<T> >
class RangeSplayMap {
- RangeSplayTree<range_tree_node<T>, Allocator> Tree;
+ RangeSplayTree<T, Allocator> Tree;
public:
explicit RangeSplayMap(const Allocator& A= Allocator() )
More information about the llvm-commits
mailing list