[llvm-commits] [llvm] r61645 - in /llvm/trunk: include/llvm/Module.h lib/VMCore/Module.cpp

Duncan Sands baldrick at free.fr
Mon Jan 5 02:34:57 PST 2009


Hi Nick,

> +    if (!New->isIntrinsic())       // Intrinsics get attrs set on construction
> +      New->setAttributes(AttributeList);

how about asserting that the AttributeList is 0 if New is an intrinsic.

Ciao,

Duncan.



More information about the llvm-commits mailing list