summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/JIT
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
commit93468cdd3e1126f29c328b11fa1e4752caa2ce96 (patch)
tree11fdeb81231415432be22b74f4b45282ce68a385 /llvm/unittests/ExecutionEngine/JIT
parente8c035df6f3b2e5dbcc741657c7f405e183fce75 (diff)
downloadbcm5719-llvm-93468cdd3e1126f29c328b11fa1e4752caa2ce96.tar.gz
bcm5719-llvm-93468cdd3e1126f29c328b11fa1e4752caa2ce96.zip
Update unittest for LLVM API change.
llvm-svn: 77730
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/JITTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
index abfe9313470..d5aa0914fb7 100644
--- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud