summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit859212767e66290a7eb279f042d692a42427943a (patch)
tree7ab483daf0dcc9489a4ad18f7ba081f928d0beda /llvm/docs/GarbageCollection.html
parent9acfc3af72594aaa828c411afe6be5d343ddd2a5 (diff)
downloadbcm5719-llvm-859212767e66290a7eb279f042d692a42427943a.tar.gz
bcm5719-llvm-859212767e66290a7eb279f042d692a42427943a.zip
Use correct variable in this example. Pointed out by waynix on IRC.
llvm-svn: 156067
Diffstat (limited to 'llvm/docs/GarbageCollection.html')
-rw-r--r--llvm/docs/GarbageCollection.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/GarbageCollection.html b/llvm/docs/GarbageCollection.html
index 778297cff74..20f2c96a2b5 100644
--- a/llvm/docs/GarbageCollection.html
+++ b/llvm/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
OpenPOWER on IntegriCloud