[llvm-commits] CVS: llvm-gcc/gcc/llvm-types.c

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 6 11:03:43 PDT 2004



Changes in directory llvm-gcc/gcc:

llvm-types.c updated: 1.13 -> 1.14
---
Log message:

If you are looking for elegance, look elsewhere.


---
Diffs of the changes:  (+1 -1)

Index: llvm-gcc/gcc/llvm-types.c
diff -u llvm-gcc/gcc/llvm-types.c:1.13 llvm-gcc/gcc/llvm-types.c:1.14
--- llvm-gcc/gcc/llvm-types.c:1.13	Fri Aug  6 12:46:33 2004
+++ llvm-gcc/gcc/llvm-types.c	Fri Aug  6 13:03:30 2004
@@ -1257,7 +1257,7 @@
      * before calling llvm_type_get_from_tree, so we just allocate "enough"
      * space.
      */
-    Result = llvm_type_create_struct(500,
+    Result = llvm_type_create_struct(1024 /*FIXME THIS IS HORRIBLE!*/,
                                      (TREE_INT_CST_LOW(TYPE_SIZE(type))+7)/8);
     /* Add the new structure type to the hash table of created structure types.
      */






More information about the llvm-commits mailing list