[llvm-commits] CVS: llvm-gcc/gcc/llvm-ilist.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 25 22:53:53 PDT 2004
Changes in directory llvm-gcc/gcc:
llvm-ilist.h updated: 1.1 -> 1.2
---
Log message:
Fix a bug in a currently unused macro. Patch contributed by
Michael McCracken
---
Diffs of the changes: (+1 -1)
Index: llvm-gcc/gcc/llvm-ilist.h
diff -u llvm-gcc/gcc/llvm-ilist.h:1.1 llvm-gcc/gcc/llvm-ilist.h:1.2
--- llvm-gcc/gcc/llvm-ilist.h:1.1 Thu Jan 8 16:35:32 2004
+++ llvm-gcc/gcc/llvm-ilist.h Tue Oct 26 00:53:40 2004
@@ -121,7 +121,7 @@
/* llvm_ilist_push_front - Add a preallocated node to the front of the list */
#define llvm_ilist_push_front(TYPE, LIST, NODE) do { \
TYPE *XXNode = NODE; \
- assert(!llvm_inlist(XXNode) && "node already in list!"); \
+ assert(!llvm_ilist_inlist(XXNode) && "node already in list!"); \
XXNode->Next = LIST##First; XXNode->Prev = 0; \
LIST##First->Prev = XXNode; \
LIST##First = XXNode; \
More information about the llvm-commits
mailing list