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

llvm-svn: 2481
This commit is contained in:
Chris Lattner 2002-05-06 15:10:15 +00:00
parent 6022ad064c
commit 08b2c3638d
1 changed files with 2 additions and 2 deletions

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