[llvm-commits] [poolalloc] r57906 - /poolalloc/trunk/include/poolalloc_runtime/test.ex
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Tue Oct 21 07:48:21 PDT 2008
Author: alenhar2
Date: Tue Oct 21 09:48:20 2008
New Revision: 57906
URL: http://llvm.org/viewvc/llvm-project?rev=57906&view=rev
Log:
fix this for the map too, not just the set
Modified:
poolalloc/trunk/include/poolalloc_runtime/test.ex
Modified: poolalloc/trunk/include/poolalloc_runtime/test.ex
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/poolalloc_runtime/test.ex?rev=57906&r1=57905&r2=57906&view=diff
==============================================================================
--- poolalloc/trunk/include/poolalloc_runtime/test.ex (original)
+++ poolalloc/trunk/include/poolalloc_runtime/test.ex Tue Oct 21 09:48:20 2008
@@ -6,7 +6,7 @@
PoolAllocator<CompoundSlabManager<BitMaskSlabManager<LinuxMmap>, MallocSlabManager<> > > c(8, 8);
-RangeSplayMap<unsigned> x;
+RangeSplayMap<unsigned> ma;
int main() {
void* x = a.alloc();
@@ -24,6 +24,8 @@
c.dealloc(x);
c.dealloc(y);
+ unsigned asdf = 2;
+ ma.insert((void*)0, (void*)1, asdf);
return 0;
}
More information about the llvm-commits
mailing list