summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-02-13 00:31:14 +0000
committerLang Hames <lhames@gmail.com>2014-02-13 00:31:14 +0000
commit81c7e1871f852bb42493bf181087b75fde3a0fcf (patch)
treeb40f3ff5930a52a17f351c06b070cbbb737e773a /unittests
parent04510e6c802c92a17b505f1cdb42fdb43b81f434 (diff)
downloadllvm-81c7e1871f852bb42493bf181087b75fde3a0fcf.tar.gz
llvm-81c7e1871f852bb42493bf181087b75fde3a0fcf.tar.bz2
llvm-81c7e1871f852bb42493bf181087b75fde3a0fcf.tar.xz
Fix misleading comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
index 0a696a4786..fa79a2e7df 100644
--- a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
+++ b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
@@ -173,7 +173,7 @@ protected:
LLVMSetTarget(Module, HostTriple.c_str());
- // build a global variable initialized to "Hello World!"
+ // build a global int32 variable initialized to 42.
LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "intVal");
LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0));