diff options
Diffstat (limited to 'unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r-- | unittests/ExecutionEngine/JIT/JITTest.cpp | 2 |
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. |