[llvm-commits] [llvm] r41925 - /llvm/trunk/include/llvm/Type.h
Gordon Henriksen
gordonhenriksen at mac.com
Thu Sep 13 06:22:01 PDT 2007
Thanks Chris.
On 2007-09-13, at 02:18, Chris Lattner wrote:
> Author: lattner
> Date: Thu Sep 13 01:18:04 2007
> New Revision: 41925
>
> URL: http://llvm.org/viewvc/llvm-project?rev=41925&view=rev
> Log:
> remove dead enum value.
>
> Modified:
> llvm/trunk/include/llvm/Type.h
>
> Modified: llvm/trunk/include/llvm/Type.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/
> Type.h?rev=41925&r1=41924&r2=41925&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/include/llvm/Type.h (original)
> +++ llvm/trunk/include/llvm/Type.h Thu Sep 13 01:18:04 2007
> @@ -80,11 +80,10 @@
> IntegerTyID, ///< 7: Arbitrary bit width integers
> FunctionTyID, ///< 8: Functions
> StructTyID, ///< 9: Structures
> - PackedStructTyID,///< 10: Packed Structure. This is for
> bitcode only
> - ArrayTyID, ///< 11: Arrays
> - PointerTyID, ///< 12: Pointers
> - OpaqueTyID, ///< 13: Opaque: type with unknown structure
> - VectorTyID, ///< 14: SIMD 'packed' format, or other
> vector type
> + ArrayTyID, ///< 10: Arrays
> + PointerTyID, ///< 11: Pointers
> + OpaqueTyID, ///< 12: Opaque: type with unknown structure
> + VectorTyID, ///< 13: SIMD 'packed' format, or other
> vector type
>
> NumTypeIDs, // Must remain as last
> defined ID
> LastPrimitiveTyID = LabelTyID,
> @@ -230,8 +229,7 @@
> return true;
> // If it is not something that can have a size (e.g. a
> function or label),
> // it doesn't have a size.
> - if (ID != StructTyID && ID != ArrayTyID && ID != VectorTyID &&
> - ID != PackedStructTyID)
> + if (ID != StructTyID && ID != ArrayTyID && ID != VectorTyID)
> return false;
> // If it is something that can have a size and it's concrete,
> it definitely
> // has a size, otherwise we have to try harder to decide.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
— Gordon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070913/ed83409f/attachment.html>
More information about the llvm-commits
mailing list