summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/JIT
diff options
context:
space:
mode:
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