[llvm] r201279 - Fix misleading comment.

Lang Hames lhames at gmail.com
Wed Feb 12 16:31:14 PST 2014


Author: lhames
Date: Wed Feb 12 18:31:14 2014
New Revision: 201279

URL: http://llvm.org/viewvc/llvm-project?rev=201279&view=rev
Log:
Fix misleading comment.

Modified:
    llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp?rev=201279&r1=201278&r2=201279&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp Wed Feb 12 18:31:14 2014
@@ -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));
     





More information about the llvm-commits mailing list