<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
The message below hasn't posted to LLVMdev after several hours so I thought I'd try it here.<BR>
<BR>
Reid.<BR>
<BR>
-----Forwarded Message-----
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#301fe4"><B><I>From:</B> Reid Spencer <reid@x10sys.com><BR>
<B>To:</B> LLVMdev List <llvmdev@cs.uiuc.edu><BR>
<B>Subject:</B> PATCH: Typo is StructType assert<BR>
<B>Date:</B> Sun, 28 Mar 2004 09:37:46 -0800<BR>
<BR>
If you put a VoidTy as a field of a StructType, you get:<BR>
<BR>
/proj/work/llvm/llvm/lib/VMCore/Type.cpp:380: llvm::StructType::StructType(const std::vector<const llvm::Type*, std::allocator<const llvm::Type*> >&): Assertion `Types[i] != Type::VoidTy && "Void type in method prototype!!"' failed.<BR>
<BR>
I believe "method prototype" should be "structure field" so the attached patch fixes this assertion's comment.<BR>
<BR>
Reid.</I></FONT>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<BR>
<ADDRESS><FONT SIZE="4"><I>_______________________<BR>
Reid Spencer<BR>
President & CTO<BR>
eXtensible Systems, Inc.<BR>
rspencer@x10sys.com</I></FONT></ADDRESS>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>