<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>As I thought about this more, I realized that the 
problem is not as easy as just transmuting the FunctionType from one 
FunctionType to another, since void* is not a FunctionType.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If the strict type-checking that is happening (the 
assert on Constants.cpp:233 in the ConstantStruct constructor) is the only 
problem here, and nothing more severe, perhaps the client should be able to set 
a flag that forces a the type of a ConstantPointerRef of a Function equal to 
what is returned by PointerType::get(Type::VoidTy), or some such thing. 
:)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks again,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-j</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>