Revive inline_function()

This commit is contained in:
Siu Kwan Lam 2012-09-03 22:24:09 -07:00
commit 78cde30883
5 changed files with 44 additions and 12 deletions

View file

@ -449,8 +449,9 @@ void *LLVMGetPointerToFunction(LLVMExecutionEngineRef ee, LLVMValueRef fn);
/* Wraps llvm::InlineFunction(). Inlines a function. C is the call
* instruction, created by LLVMBuildCall. Even if it fails, the Function
* containing the call is still in a proper state (not changed). */
//int LLVMInlineFunction(LLVMValueRef call);
* containing the call is still in a proper state (not changed).
*/
int LLVMInlineFunction(LLVMValueRef call);
/* Wraps llvm::getAlignmentFromAttrs from Attributes.h. Compliments the
* already available LLVMSetParamAlignment(). */