[llvm-commits] CVS: llvm/test/Programs/MultiSource/Olden-health/list.c
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 6 01:17:01 PST 2002
Changes in directory llvm/test/Programs/MultiSource/Olden-health:
list.c updated: 1.3 -> 1.4
---
Log message:
Add a hack to make levelraise DTRT on addList
---
Diffs of the changes:
Index: llvm/test/Programs/MultiSource/Olden-health/list.c
diff -u llvm/test/Programs/MultiSource/Olden-health/list.c:1.3 llvm/test/Programs/MultiSource/Olden-health/list.c:1.4
--- llvm/test/Programs/MultiSource/Olden-health/list.c:1.3 Thu Nov 8 14:21:25 2001
+++ llvm/test/Programs/MultiSource/Olden-health/list.c Wed Nov 6 01:16:04 2002
@@ -9,6 +9,11 @@
#include <stdlib.h>
#include "health.h"
+/* LevelRaiseHack - Level raise is having issues with addList. This is a gross
+ hack to get health working better.
+ */
+static void LevelRaiseHack(struct List *L) {}
+
void addList(struct List *list, struct Patient *patient) {
struct List *b;
@@ -17,7 +22,7 @@
list = list->forward; }
list = (struct List *)malloc(sizeof(struct List));
-
+ LevelRaiseHack(list);
list->patient = patient;
list->forward = NULL;
list->back = b;
More information about the llvm-commits
mailing list