From 859212767e66290a7eb279f042d692a42427943a Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 3 May 2012 15:25:19 +0000 Subject: Use correct variable in this example. Pointed out by waynix on IRC. llvm-svn: 156067 --- llvm/docs/GarbageCollection.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/docs/GarbageCollection.html') 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 -- cgit v1.2.3