internal static LLVMTypeRef CreateLLVMMethodCallPromiseType(this ContextWrapper context, LLVMTypeRef innerType) { return(context.StructType(new LLVMTypeRef[] { LLVMTypeRef.PointerType(context.MethodPollFunctionType(), 0u), context.VoidPointerType(), innerType, })); }