[llvm-commits] [llvm] r156067 - /llvm/trunk/docs/GarbageCollection.html
Duncan Sands
baldrick at free.fr
Thu May 3 08:25:19 PDT 2012
Author: baldrick
Date: Thu May 3 10:25:19 2012
New Revision: 156067
URL: http://llvm.org/viewvc/llvm-project?rev=156067&view=rev
Log:
Use correct variable in this example. Pointed out by waynix on IRC.
Modified:
llvm/trunk/docs/GarbageCollection.html
Modified: llvm/trunk/docs/GarbageCollection.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/GarbageCollection.html?rev=156067&r1=156066&r2=156067&view=diff
==============================================================================
--- llvm/trunk/docs/GarbageCollection.html (original)
+++ llvm/trunk/docs/GarbageCollection.html Thu May 3 10:25:19 2012
@@ -475,7 +475,7 @@
;; Tell LLVM that the stack space is a stack root.
;; Java has type-tags on objects, so we pass null as metadata.
%tmp = bitcast %Object** %X to i8**
- call void @llvm.gcroot(i8** %X, i8* null)
+ call void @llvm.gcroot(i8** %tmp, i8* null)
...
;; "CodeBlock" is the block corresponding to the start
More information about the llvm-commits
mailing list