diff --git a/docs/GarbageCollection.html b/docs/GarbageCollection.html index e39e85ce3cd..df887f364fa 100644 --- a/docs/GarbageCollection.html +++ b/docs/GarbageCollection.html @@ -159,7 +159,7 @@ interface that front-end authors should generate code for.
@@ -200,7 +200,8 @@ CodeBlock: ;; Initialize the object, telling LLVM that it is now live. ;; Java has type-tags on objects, so it doesn't need any ;; metadata. - call void %llvm.gcroot(%Object** %X, sbyte* null) + %tmp = bitcast %Object** %X to i8** + call void %llvm.gcroot(i8** %tmp, i8* null) ... ;; As the pointer goes out of scope, store a null value into @@ -219,7 +220,7 @@ CodeBlock:
The llvm_gc_allocate function is a global function defined by the @@ -236,8 +237,8 @@ zeroed-out block of memory of the appropriate size.
Several of the more interesting garbage collectors (e.g., generational diff --git a/docs/LangRef.html b/docs/LangRef.html index 76e7feed4bd..1b3f4f4afe9 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3923,7 +3923,7 @@ href="GarbageCollection.html">Accurate Garbage Collection with LLVM.
- declare void @llvm.gcroot(<ty>** %ptrloc, <ty2>* %metadata) + declare void @llvm.gcroot(i8** %ptrloc, i8* %metadata)
- declare i8 * @llvm.gcread(i8 * %ObjPtr, i8 ** %Ptr) + declare i8* @llvm.gcread(i8* %ObjPtr, i8** %Ptr)
- declare void @llvm.gcwrite(i8 * %P1, i8 * %Obj, i8 ** %P2) + declare void @llvm.gcwrite(i8* %P1, i8* %Obj, i8** %P2)
- declare i8 *@llvm.frameaddress(i32 <level>) + declare i8 *@llvm.frameaddress(i32 <level>)
- declare i8 *@llvm.stacksave() + declare i8 *@llvm.stacksave()
- declare void @llvm.prefetch(i8 * <address>, - i32 <rw>, i32 <locality>) + declare void @llvm.prefetch(i8* <address>, i32 <rw>, i32 <locality>)
- declare void @llvm.pcmarker( i32 <id> ) + declare void @llvm.pcmarker(i32 <id>)