[llvm-commits] CVS: llvm/docs/LangRef.html
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 14 12:03:03 PST 2006
Changes in directory llvm/docs:
LangRef.html updated: 1.139 -> 1.140
---
Log message:
Update this to match the documentation in the GC doc and to match actual
practice.
---
Diffs of the changes: (+11 -7)
LangRef.html | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.139 llvm/docs/LangRef.html:1.140
--- llvm/docs/LangRef.html:1.139 Mon Mar 13 23:39:39 2006
+++ llvm/docs/LangRef.html Tue Mar 14 14:02:51 2006
@@ -2917,7 +2917,7 @@
<h5>Syntax:</h5>
<pre>
- declare sbyte* %llvm.gcread(sbyte** %Ptr)
+ declare sbyte* %llvm.gcread(sbyte* %ObjPtr, sbyte** %Ptr)
</pre>
<h5>Overview:</h5>
@@ -2928,8 +2928,10 @@
<h5>Arguments:</h5>
-<p>The argument is the address to read from, which should be an address
-allocated from the garbage collector.</p>
+<p>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).</p>
<h5>Semantics:</h5>
@@ -2950,7 +2952,7 @@
<h5>Syntax:</h5>
<pre>
- declare void %llvm.gcwrite(sbyte* %P1, sbyte** %P2)
+ declare void %llvm.gcwrite(sbyte* %P1, sbyte* %Obj, sbyte** %P2)
</pre>
<h5>Overview:</h5>
@@ -2961,8 +2963,10 @@
<h5>Arguments:</h5>
-<p>The first argument is the reference to store, and the second is the heap
-location to store to.</p>
+<p>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.</p>
<h5>Semantics:</h5>
@@ -3694,7 +3698,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2006/03/14 05:39:39 $
+ Last modified: $Date: 2006/03/14 20:02:51 $
</address>
</body>
</html>
More information about the llvm-commits
mailing list