[llvm-commits] CVS: llvm-gcc/gcc/llvm-representation.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 16 01:07:01 PST 2004
Changes in directory llvm-gcc/gcc:
llvm-representation.h updated: 1.3 -> 1.4
---
Log message:
remove dead member, add new member to llvm_basicblock
---
Diffs of the changes: (+8 -2)
Index: llvm-gcc/gcc/llvm-representation.h
diff -u llvm-gcc/gcc/llvm-representation.h:1.3 llvm-gcc/gcc/llvm-representation.h:1.4
--- llvm-gcc/gcc/llvm-representation.h:1.3 Mon Mar 15 23:23:37 2004
+++ llvm-gcc/gcc/llvm-representation.h Tue Mar 16 01:06:12 2004
@@ -224,6 +224,14 @@
* referenced. This member is used when expanding cleanups.
*/
void *EnclosingScope;
+
+ /* BlockID - If the "address" of this basic block is ever taken, assign the
+ * block an ID number. This ID number will be returned by any statements
+ * taking the address of the block, and will be used by the switch instruction
+ * used to do the indirect goto. If this value is null, the address of the
+ * block has not been taken yet.
+ */
+ llvm_value *BlockID;
} llvm_basicblock;
llvm_basicblock *llvm_basicblock_new(const char *);
@@ -254,8 +262,6 @@
llvm_ilist(llvm_argument , Arguments); /* List of arguments */
llvm_ilist(llvm_basicblock, BasicBlocks); /* List of basic blocks */
struct llvm_expand_info *ExpandInfo;
-
- int FunctionUsesVarArgs; /* True if function accesses variable args */
/* ForwardedFunction - This member is here only because we don't have a
* replaceAllUsesWith equivalent in the C frontend. In C, we can create a
More information about the llvm-commits
mailing list