Fix misleading comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2014-02-13 00:31:14 +00:00
parent 04510e6c80
commit 81c7e1871f

View File

@ -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));