Void and Label values cannot be acted on directly so they have zero size

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2481 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-06 15:10:15 +00:00
parent 829b79dd8c
commit 11fe8dfff7

View File

@ -25,7 +25,7 @@
// Type Name: This is the symbolic name of the type, without the trailing Ty.
// Type Size: This is the size or precision of the type.
//
HANDLE_PRIM_TYPE(Void , 1)
HANDLE_PRIM_TYPE(Void , 0)
HANDLE_PRIM_TYPE(Bool , 1)
HANDLE_PRIM_TYPE(SByte , 1)
HANDLE_PRIM_TYPE(UByte , 1)
@ -38,7 +38,7 @@ HANDLE_PRIM_TYPE(ULong , 8)
HANDLE_PRIM_TYPE(Float , 4)
HANDLE_PRIM_TYPE(Double, 8)
HANDLE_PRIM_TYPE(Type , 0)
HANDLE_PRIM_TYPE(Label , 8)
HANDLE_PRIM_TYPE(Label , 0)
// HANDLE_DERV_TYPE - Parameterized #define that takes the following fields to