summaryrefslogtreecommitdiff
path: root/unittests/ExecutionEngine
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-07-31 20:56:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-07-31 20:56:31 +0000
commitfeba7562ec3420b52d9d395ae4b279157c55586b (patch)
treee1cd5f66ce1f18ffddf7f20faadb98a3509c3f20 /unittests/ExecutionEngine
parentb41fc9f05c4d0384e20bfe3abafbfd953ec00dec (diff)
downloadllvm-feba7562ec3420b52d9d395ae4b279157c55586b.tar.gz
llvm-feba7562ec3420b52d9d395ae4b279157c55586b.tar.bz2
llvm-feba7562ec3420b52d9d395ae4b279157c55586b.tar.xz
Update unittest for LLVM API change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ExecutionEngine')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index abfe931347..d5aa0914fb 100644
--- a/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -75,7 +75,7 @@ TEST(JIT, GlobalInFunction) {
GTy,
false, // Not constant.
GlobalValue::InternalLinkage,
- context.getNullValue(GTy),
+ Constant::getNullValue(GTy),
"myglobal");
// Make a function that points to a global.