projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6623cff
)
gc_init now gets an argument
author
Chris Lattner
<sabre@nondot.org>
Thu, 27 May 2004 05:51:00 +0000
(
05:51
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 27 May 2004 05:51:00 +0000
(
05:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13816
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/Generic/GC/alloc_loop.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/Generic/GC/alloc_loop.ll
b/test/CodeGen/Generic/GC/alloc_loop.ll
index de9d47598b2f490bd3dc7083945da424dc53a6cf..254f56dbe0631345599382d4d46c20b740da4ef0 100644
(file)
--- 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)