added comment

This commit is contained in:
Evghenii
2013-10-31 16:06:44 +01:00
parent dcf9c280ee
commit 0a069f7de2

View File

@@ -3641,7 +3641,10 @@ FunctionEmitContext::LaunchInst(llvm::Value *callee,
llvm::ArrayType* ArrayTy_6 = llvm::ArrayType::get(LLVMTypes::VoidPointerType, argVals.size());
llvm::Value* ptrParam = AllocaInst(ArrayTy_6, "arrayStructPtr");
/* construct array of pointers to arguments */
/* constructed array of pointers to arguments
* this, and other parts are reverse enginered via
* cpp(clang++ -S -emit-llvm)->IR and then IR(llc -march=cpp)->cpp
*/
for (unsigned int i = 0; i < argVals.size(); ++i)
{
llvm::Type* type = argStructType->getElementType(i);