aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-06 15:10:15 +0000
committerChris Lattner <sabre@nondot.org>2002-05-06 15:10:15 +0000
commit11fe8dfff7e08613913c53920d95bf90780e2d35 (patch)
tree0f45b02948a451a977cff2213dbc7ce8b432b5db
parent829b79dd8ca141b38ebbf62fcac6155e5d99f435 (diff)
downloadexternal_llvm-11fe8dfff7e08613913c53920d95bf90780e2d35.zip
external_llvm-11fe8dfff7e08613913c53920d95bf90780e2d35.tar.gz
external_llvm-11fe8dfff7e08613913c53920d95bf90780e2d35.tar.bz2
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
-rw-r--r--include/llvm/Type.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Type.def b/include/llvm/Type.def
index 99a9569..c56da22 100644
--- a/include/llvm/Type.def
+++ b/include/llvm/Type.def
@@ -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