aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/GC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-27 05:51:00 +0000
committerChris Lattner <sabre@nondot.org>2004-05-27 05:51:00 +0000
commit56fff598410a7fbb1f77032e90ad25a8cf34313f (patch)
tree421e1d77c4cccd1c42bc38ee60a44eaf4e997edd /test/CodeGen/Generic/GC
parent6623cffb6ae21ac4022e59998eba78cc0d9cccd0 (diff)
downloadexternal_llvm-56fff598410a7fbb1f77032e90ad25a8cf34313f.zip
external_llvm-56fff598410a7fbb1f77032e90ad25a8cf34313f.tar.gz
external_llvm-56fff598410a7fbb1f77032e90ad25a8cf34313f.tar.bz2
gc_init now gets an argument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/GC')
-rw-r--r--test/CodeGen/Generic/GC/alloc_loop.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Generic/GC/alloc_loop.ll b/test/CodeGen/Generic/GC/alloc_loop.ll
index de9d475..254f56d 100644
--- a/test/CodeGen/Generic/GC/alloc_loop.ll
+++ b/test/CodeGen/Generic/GC/alloc_loop.ll
@@ -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 @@ entry:
%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)