summaryrefslogtreecommitdiff
path: root/docs/GarbageCollection.html
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-05-03 15:25:19 +0000
committerDuncan Sands <baldrick@free.fr>2012-05-03 15:25:19 +0000
commit28d95b0a04ced9a07ab8913d4b2211946394e2b2 (patch)
tree3364e77cba41db97981eb79584bfa8d9817b7c92 /docs/GarbageCollection.html
parentb607264550b6d992cb299b0a9c832a6ed49d483c (diff)
downloadllvm-28d95b0a04ced9a07ab8913d4b2211946394e2b2.tar.gz
llvm-28d95b0a04ced9a07ab8913d4b2211946394e2b2.tar.bz2
llvm-28d95b0a04ced9a07ab8913d4b2211946394e2b2.tar.xz
Use correct variable in this example. Pointed out by waynix on IRC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GarbageCollection.html')
-rw-r--r--docs/GarbageCollection.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/GarbageCollection.html b/docs/GarbageCollection.html
index 778297cff7..20f2c96a2b 100644
--- a/docs/GarbageCollection.html
+++ b/docs/GarbageCollection.html
@@ -475,7 +475,7 @@ Entry:
;; 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