aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic')
-rw-r--r--test/CodeGen/Generic/GC/lower_gcroot.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/Generic/GC/lower_gcroot.ll b/test/CodeGen/Generic/GC/lower_gcroot.ll
index 3a3abac..2dbbc83 100644
--- a/test/CodeGen/Generic/GC/lower_gcroot.ll
+++ b/test/CodeGen/Generic/GC/lower_gcroot.ll
@@ -3,7 +3,8 @@
%Env = type opaque*
define void @.main(%Env) {
- call void @llvm.gcroot( %Env* null, %Env null )
+ %Root = alloca %Env
+ call void @llvm.gcroot( %Env* %Root, %Env null )
unreachable
}