[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/GC/alloc_loop.ll

Chris Lattner lattner at cs.uiuc.edu
Thu May 27 00:54:01 PDT 2004


Changes in directory llvm/test/Regression/CodeGen/Generic/GC:

alloc_loop.ll updated: 1.1 -> 1.2

---
Log message:

gc_init now gets an argument


---
Diffs of the changes:  (+2 -2)

Index: llvm/test/Regression/CodeGen/Generic/GC/alloc_loop.ll
diff -u llvm/test/Regression/CodeGen/Generic/GC/alloc_loop.ll:1.1 llvm/test/Regression/CodeGen/Generic/GC/alloc_loop.ll:1.2
--- llvm/test/Regression/CodeGen/Generic/GC/alloc_loop.ll:1.1	Sun May 23 16:24:50 2004
+++ llvm/test/Regression/CodeGen/Generic/GC/alloc_loop.ll	Thu May 27 00:51:00 2004
@@ -1,7 +1,7 @@
 implementation
 
 declare sbyte* %llvm_gc_allocate(uint)
-declare void %llvm_gc_initialize()
+declare void %llvm_gc_initialize(uint)
 
 declare void %llvm.gcroot(sbyte**, sbyte*)
 declare void %llvm.gcwrite(sbyte*, sbyte**)
@@ -11,7 +11,7 @@
 	%A = alloca sbyte*
 	%B = alloca sbyte**
 
-	call void %llvm_gc_initialize()
+	call void %llvm_gc_initialize(uint 1048576)  ; Start with 1MB heap
 
         ;; void *A;
 	call void %llvm.gcroot(sbyte** %A, sbyte* null)





More information about the llvm-commits mailing list