diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2009-03-06 02:42:47 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2009-03-06 02:42:47 +0000 |
commit | 183f6fc804e4a86d963e53f8734e04373d783a7a (patch) | |
tree | 803183c071e2563463c899984215fc663dfdc636 /docs/GarbageCollection.html | |
parent | 4e1187fbc7e8f8046311487c0801a010f3c20a75 (diff) | |
download | external_llvm-183f6fc804e4a86d963e53f8734e04373d783a7a.zip external_llvm-183f6fc804e4a86d963e53f8734e04373d783a7a.tar.gz external_llvm-183f6fc804e4a86d963e53f8734e04373d783a7a.tar.bz2 |
Committing unsaved changes that should've been with r66237.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GarbageCollection.html')
-rw-r--r-- | docs/GarbageCollection.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/GarbageCollection.html b/docs/GarbageCollection.html index 1508bcf..ccf9162 100644 --- a/docs/GarbageCollection.html +++ b/docs/GarbageCollection.html @@ -525,15 +525,14 @@ for completeness. In this snippet, <tt>%object</tt> is the object pointer, and ;; Compute the derived pointer. %derived = getelementptr %object, i32 0, i32 2, i32 %n</pre></blockquote> +<p>LLVM does not enforce this relationship between the object and derived +pointer (although a <a href="#plugin">plugin</a> might). However, it would be +an unusual collector that violated it.</p> + <p>The use of these intrinsics is naturally optional if the target GC does -require the corresponding barrier. If so, the GC plugin will replace the -intrinsic calls with the corresponding <tt>load</tt> or <tt>store</tt> -instruction if they are used.</p> - -<p>LLVM does not enforce any particular relationship between the object and -derived pointer (although a <a href="#plugin">plugin</a> might). However, it -would be unusual that the derived pointer not be a <tt>getelementptr</tt> of the -object pointer.</p> +require the corresponding barrier. Such a GC plugin will replace the intrinsic +calls with the corresponding <tt>load</tt> or <tt>store</tt> instruction if they +are used.</p> </div> |