diff --git a/docs/LangRef.html b/docs/LangRef.html index 0dd26bfee6d..160a3e251ad 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2917,7 +2917,7 @@ the runtime to find the pointer at GC safe points.
- declare sbyte* %llvm.gcread(sbyte** %Ptr) + declare sbyte* %llvm.gcread(sbyte* %ObjPtr, sbyte** %Ptr)
The argument is the address to read from, which should be an address -allocated from the garbage collector.
+The second argument is the address to read from, which should be an address +allocated from the garbage collector. The first object is a pointer to the +start of the referenced object, if needed by the language runtime (otherwise +null).
- declare void %llvm.gcwrite(sbyte* %P1, sbyte** %P2) + declare void %llvm.gcwrite(sbyte* %P1, sbyte* %Obj, sbyte** %P2)
The first argument is the reference to store, and the second is the heap -location to store to.
+The first argument is the reference to store, the second is the start of the +object to store it to, and the third is the address of the field of Obj to +store to. If the runtime does not require a pointer to the object, Obj may be +null.